mirror of
https://github.com/gonum/gonum.git
synced 2025-10-05 23:26:52 +08:00
all: use fixdocs tool to store package documentation in doc.go
Add copyright header to doc.go Keep original comment style (e.g. line comments and block comments).
This commit is contained in:
103
blas/blas.go
103
blas/blas.go
@@ -4,109 +4,6 @@
|
|||||||
|
|
||||||
//go:generate ./conversions.bash
|
//go:generate ./conversions.bash
|
||||||
|
|
||||||
/*
|
|
||||||
Package blas provides interfaces for the BLAS linear algebra standard.
|
|
||||||
|
|
||||||
All methods must perform appropriate parameter checking and panic if
|
|
||||||
provided parameters that do not conform to the requirements specified
|
|
||||||
by the BLAS standard.
|
|
||||||
|
|
||||||
Quick Reference Guide to the BLAS from http://www.netlib.org/lapack/lug/node145.html
|
|
||||||
|
|
||||||
This version is modified to remove the "order" option. All matrix operations are
|
|
||||||
on row-order matrices.
|
|
||||||
|
|
||||||
Level 1 BLAS
|
|
||||||
|
|
||||||
dim scalar vector vector scalars 5-element prefixes
|
|
||||||
struct
|
|
||||||
|
|
||||||
_rotg ( a, b ) S, D
|
|
||||||
_rotmg( d1, d2, a, b ) S, D
|
|
||||||
_rot ( n, x, incX, y, incY, c, s ) S, D
|
|
||||||
_rotm ( n, x, incX, y, incY, param ) S, D
|
|
||||||
_swap ( n, x, incX, y, incY ) S, D, C, Z
|
|
||||||
_scal ( n, alpha, x, incX ) S, D, C, Z, Cs, Zd
|
|
||||||
_copy ( n, x, incX, y, incY ) S, D, C, Z
|
|
||||||
_axpy ( n, alpha, x, incX, y, incY ) S, D, C, Z
|
|
||||||
_dot ( n, x, incX, y, incY ) S, D, Ds
|
|
||||||
_dotu ( n, x, incX, y, incY ) C, Z
|
|
||||||
_dotc ( n, x, incX, y, incY ) C, Z
|
|
||||||
__dot ( n, alpha, x, incX, y, incY ) Sds
|
|
||||||
_nrm2 ( n, x, incX ) S, D, Sc, Dz
|
|
||||||
_asum ( n, x, incX ) S, D, Sc, Dz
|
|
||||||
I_amax( n, x, incX ) s, d, c, z
|
|
||||||
|
|
||||||
Level 2 BLAS
|
|
||||||
|
|
||||||
options dim b-width scalar matrix vector scalar vector prefixes
|
|
||||||
|
|
||||||
_gemv ( trans, m, n, alpha, a, lda, x, incX, beta, y, incY ) S, D, C, Z
|
|
||||||
_gbmv ( trans, m, n, kL, kU, alpha, a, lda, x, incX, beta, y, incY ) S, D, C, Z
|
|
||||||
_hemv ( uplo, n, alpha, a, lda, x, incX, beta, y, incY ) C, Z
|
|
||||||
_hbmv ( uplo, n, k, alpha, a, lda, x, incX, beta, y, incY ) C, Z
|
|
||||||
_hpmv ( uplo, n, alpha, ap, x, incX, beta, y, incY ) C, Z
|
|
||||||
_symv ( uplo, n, alpha, a, lda, x, incX, beta, y, incY ) S, D
|
|
||||||
_sbmv ( uplo, n, k, alpha, a, lda, x, incX, beta, y, incY ) S, D
|
|
||||||
_spmv ( uplo, n, alpha, ap, x, incX, beta, y, incY ) S, D
|
|
||||||
_trmv ( uplo, trans, diag, n, a, lda, x, incX ) S, D, C, Z
|
|
||||||
_tbmv ( uplo, trans, diag, n, k, a, lda, x, incX ) S, D, C, Z
|
|
||||||
_tpmv ( uplo, trans, diag, n, ap, x, incX ) S, D, C, Z
|
|
||||||
_trsv ( uplo, trans, diag, n, a, lda, x, incX ) S, D, C, Z
|
|
||||||
_tbsv ( uplo, trans, diag, n, k, a, lda, x, incX ) S, D, C, Z
|
|
||||||
_tpsv ( uplo, trans, diag, n, ap, x, incX ) S, D, C, Z
|
|
||||||
|
|
||||||
options dim scalar vector vector matrix prefixes
|
|
||||||
|
|
||||||
_ger ( m, n, alpha, x, incX, y, incY, a, lda ) S, D
|
|
||||||
_geru ( m, n, alpha, x, incX, y, incY, a, lda ) C, Z
|
|
||||||
_gerc ( m, n, alpha, x, incX, y, incY, a, lda ) C, Z
|
|
||||||
_her ( uplo, n, alpha, x, incX, a, lda ) C, Z
|
|
||||||
_hpr ( uplo, n, alpha, x, incX, ap ) C, Z
|
|
||||||
_her2 ( uplo, n, alpha, x, incX, y, incY, a, lda ) C, Z
|
|
||||||
_hpr2 ( uplo, n, alpha, x, incX, y, incY, ap ) C, Z
|
|
||||||
_syr ( uplo, n, alpha, x, incX, a, lda ) S, D
|
|
||||||
_spr ( uplo, n, alpha, x, incX, ap ) S, D
|
|
||||||
_syr2 ( uplo, n, alpha, x, incX, y, incY, a, lda ) S, D
|
|
||||||
_spr2 ( uplo, n, alpha, x, incX, y, incY, ap ) S, D
|
|
||||||
|
|
||||||
Level 3 BLAS
|
|
||||||
|
|
||||||
options dim scalar matrix matrix scalar matrix prefixes
|
|
||||||
|
|
||||||
_gemm ( transA, transB, m, n, k, alpha, a, lda, b, ldb, beta, c, ldc ) S, D, C, Z
|
|
||||||
_symm ( side, uplo, m, n, alpha, a, lda, b, ldb, beta, c, ldc ) S, D, C, Z
|
|
||||||
_hemm ( side, uplo, m, n, alpha, a, lda, b, ldb, beta, c, ldc ) C, Z
|
|
||||||
_syrk ( uplo, trans, n, k, alpha, a, lda, beta, c, ldc ) S, D, C, Z
|
|
||||||
_herk ( uplo, trans, n, k, alpha, a, lda, beta, c, ldc ) C, Z
|
|
||||||
_syr2k( uplo, trans, n, k, alpha, a, lda, b, ldb, beta, c, ldc ) S, D, C, Z
|
|
||||||
_her2k( uplo, trans, n, k, alpha, a, lda, b, ldb, beta, c, ldc ) C, Z
|
|
||||||
_trmm ( side, uplo, transA, diag, m, n, alpha, a, lda, b, ldb ) S, D, C, Z
|
|
||||||
_trsm ( side, uplo, transA, diag, m, n, alpha, a, lda, b, ldb ) S, D, C, Z
|
|
||||||
|
|
||||||
Meaning of prefixes
|
|
||||||
|
|
||||||
S - float32 C - complex64
|
|
||||||
D - float64 Z - complex128
|
|
||||||
|
|
||||||
Matrix types
|
|
||||||
|
|
||||||
GE - GEneral GB - General Band
|
|
||||||
SY - SYmmetric SB - Symmetric Band SP - Symmetric Packed
|
|
||||||
HE - HErmitian HB - Hermitian Band HP - Hermitian Packed
|
|
||||||
TR - TRiangular TB - Triangular Band TP - Triangular Packed
|
|
||||||
|
|
||||||
Options
|
|
||||||
|
|
||||||
trans = NoTrans, Trans, ConjTrans
|
|
||||||
uplo = Upper, Lower
|
|
||||||
diag = Nonunit, Unit
|
|
||||||
side = Left, Right (A or op(A) on the left, or A or op(A) on the right)
|
|
||||||
|
|
||||||
For real matrices, Trans and ConjTrans have the same meaning.
|
|
||||||
For Hermitian matrices, trans = Trans is not allowed.
|
|
||||||
For complex symmetric matrices, trans = ConjTrans is not allowed.
|
|
||||||
*/
|
|
||||||
package blas // import "gonum.org/v1/gonum/blas"
|
package blas // import "gonum.org/v1/gonum/blas"
|
||||||
|
|
||||||
// Flag constants indicate Givens transformation H matrix state.
|
// Flag constants indicate Givens transformation H matrix state.
|
||||||
|
@@ -2,7 +2,6 @@
|
|||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
// Package blas32 provides a simple interface to the float32 BLAS API.
|
|
||||||
package blas32 // import "gonum.org/v1/gonum/blas/blas32"
|
package blas32 // import "gonum.org/v1/gonum/blas/blas32"
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
6
blas/blas32/doc.go
Normal file
6
blas/blas32/doc.go
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
// Copyright ©2017 The gonum Authors. All rights reserved.
|
||||||
|
// Use of this source code is governed by a BSD-style
|
||||||
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
|
// Package blas32 provides a simple interface to the float32 BLAS API.
|
||||||
|
package blas32 // import "gonum.org/v1/gonum/blas/blas32"
|
@@ -2,7 +2,6 @@
|
|||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
// Package blas64 provides a simple interface to the float64 BLAS API.
|
|
||||||
package blas64 // import "gonum.org/v1/gonum/blas/blas64"
|
package blas64 // import "gonum.org/v1/gonum/blas/blas64"
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
6
blas/blas64/doc.go
Normal file
6
blas/blas64/doc.go
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
// Copyright ©2017 The gonum Authors. All rights reserved.
|
||||||
|
// Use of this source code is governed by a BSD-style
|
||||||
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
|
// Package blas64 provides a simple interface to the float64 BLAS API.
|
||||||
|
package blas64 // import "gonum.org/v1/gonum/blas/blas64"
|
@@ -2,7 +2,6 @@
|
|||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
// Package cblas128 provides a simple interface to the complex128 BLAS API.
|
|
||||||
package cblas128 // import "gonum.org/v1/gonum/blas/cblas128"
|
package cblas128 // import "gonum.org/v1/gonum/blas/cblas128"
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
6
blas/cblas128/doc.go
Normal file
6
blas/cblas128/doc.go
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
// Copyright ©2017 The gonum Authors. All rights reserved.
|
||||||
|
// Use of this source code is governed by a BSD-style
|
||||||
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
|
// Package cblas128 provides a simple interface to the complex128 BLAS API.
|
||||||
|
package cblas128 // import "gonum.org/v1/gonum/blas/cblas128"
|
@@ -2,7 +2,6 @@
|
|||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
// Package cblas64 provides a simple interface to the complex64 BLAS API.
|
|
||||||
package cblas64 // import "gonum.org/v1/gonum/blas/cblas64"
|
package cblas64 // import "gonum.org/v1/gonum/blas/cblas64"
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
6
blas/cblas64/doc.go
Normal file
6
blas/cblas64/doc.go
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
// Copyright ©2017 The gonum Authors. All rights reserved.
|
||||||
|
// Use of this source code is governed by a BSD-style
|
||||||
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
|
// Package cblas64 provides a simple interface to the complex64 BLAS API.
|
||||||
|
package cblas64 // import "gonum.org/v1/gonum/blas/cblas64"
|
108
blas/doc.go
Normal file
108
blas/doc.go
Normal file
@@ -0,0 +1,108 @@
|
|||||||
|
// Copyright ©2017 The gonum Authors. All rights reserved.
|
||||||
|
// Use of this source code is governed by a BSD-style
|
||||||
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
|
/*
|
||||||
|
Package blas provides interfaces for the BLAS linear algebra standard.
|
||||||
|
|
||||||
|
All methods must perform appropriate parameter checking and panic if
|
||||||
|
provided parameters that do not conform to the requirements specified
|
||||||
|
by the BLAS standard.
|
||||||
|
|
||||||
|
Quick Reference Guide to the BLAS from http://www.netlib.org/lapack/lug/node145.html
|
||||||
|
|
||||||
|
This version is modified to remove the "order" option. All matrix operations are
|
||||||
|
on row-order matrices.
|
||||||
|
|
||||||
|
Level 1 BLAS
|
||||||
|
|
||||||
|
dim scalar vector vector scalars 5-element prefixes
|
||||||
|
struct
|
||||||
|
|
||||||
|
_rotg ( a, b ) S, D
|
||||||
|
_rotmg( d1, d2, a, b ) S, D
|
||||||
|
_rot ( n, x, incX, y, incY, c, s ) S, D
|
||||||
|
_rotm ( n, x, incX, y, incY, param ) S, D
|
||||||
|
_swap ( n, x, incX, y, incY ) S, D, C, Z
|
||||||
|
_scal ( n, alpha, x, incX ) S, D, C, Z, Cs, Zd
|
||||||
|
_copy ( n, x, incX, y, incY ) S, D, C, Z
|
||||||
|
_axpy ( n, alpha, x, incX, y, incY ) S, D, C, Z
|
||||||
|
_dot ( n, x, incX, y, incY ) S, D, Ds
|
||||||
|
_dotu ( n, x, incX, y, incY ) C, Z
|
||||||
|
_dotc ( n, x, incX, y, incY ) C, Z
|
||||||
|
__dot ( n, alpha, x, incX, y, incY ) Sds
|
||||||
|
_nrm2 ( n, x, incX ) S, D, Sc, Dz
|
||||||
|
_asum ( n, x, incX ) S, D, Sc, Dz
|
||||||
|
I_amax( n, x, incX ) s, d, c, z
|
||||||
|
|
||||||
|
Level 2 BLAS
|
||||||
|
|
||||||
|
options dim b-width scalar matrix vector scalar vector prefixes
|
||||||
|
|
||||||
|
_gemv ( trans, m, n, alpha, a, lda, x, incX, beta, y, incY ) S, D, C, Z
|
||||||
|
_gbmv ( trans, m, n, kL, kU, alpha, a, lda, x, incX, beta, y, incY ) S, D, C, Z
|
||||||
|
_hemv ( uplo, n, alpha, a, lda, x, incX, beta, y, incY ) C, Z
|
||||||
|
_hbmv ( uplo, n, k, alpha, a, lda, x, incX, beta, y, incY ) C, Z
|
||||||
|
_hpmv ( uplo, n, alpha, ap, x, incX, beta, y, incY ) C, Z
|
||||||
|
_symv ( uplo, n, alpha, a, lda, x, incX, beta, y, incY ) S, D
|
||||||
|
_sbmv ( uplo, n, k, alpha, a, lda, x, incX, beta, y, incY ) S, D
|
||||||
|
_spmv ( uplo, n, alpha, ap, x, incX, beta, y, incY ) S, D
|
||||||
|
_trmv ( uplo, trans, diag, n, a, lda, x, incX ) S, D, C, Z
|
||||||
|
_tbmv ( uplo, trans, diag, n, k, a, lda, x, incX ) S, D, C, Z
|
||||||
|
_tpmv ( uplo, trans, diag, n, ap, x, incX ) S, D, C, Z
|
||||||
|
_trsv ( uplo, trans, diag, n, a, lda, x, incX ) S, D, C, Z
|
||||||
|
_tbsv ( uplo, trans, diag, n, k, a, lda, x, incX ) S, D, C, Z
|
||||||
|
_tpsv ( uplo, trans, diag, n, ap, x, incX ) S, D, C, Z
|
||||||
|
|
||||||
|
options dim scalar vector vector matrix prefixes
|
||||||
|
|
||||||
|
_ger ( m, n, alpha, x, incX, y, incY, a, lda ) S, D
|
||||||
|
_geru ( m, n, alpha, x, incX, y, incY, a, lda ) C, Z
|
||||||
|
_gerc ( m, n, alpha, x, incX, y, incY, a, lda ) C, Z
|
||||||
|
_her ( uplo, n, alpha, x, incX, a, lda ) C, Z
|
||||||
|
_hpr ( uplo, n, alpha, x, incX, ap ) C, Z
|
||||||
|
_her2 ( uplo, n, alpha, x, incX, y, incY, a, lda ) C, Z
|
||||||
|
_hpr2 ( uplo, n, alpha, x, incX, y, incY, ap ) C, Z
|
||||||
|
_syr ( uplo, n, alpha, x, incX, a, lda ) S, D
|
||||||
|
_spr ( uplo, n, alpha, x, incX, ap ) S, D
|
||||||
|
_syr2 ( uplo, n, alpha, x, incX, y, incY, a, lda ) S, D
|
||||||
|
_spr2 ( uplo, n, alpha, x, incX, y, incY, ap ) S, D
|
||||||
|
|
||||||
|
Level 3 BLAS
|
||||||
|
|
||||||
|
options dim scalar matrix matrix scalar matrix prefixes
|
||||||
|
|
||||||
|
_gemm ( transA, transB, m, n, k, alpha, a, lda, b, ldb, beta, c, ldc ) S, D, C, Z
|
||||||
|
_symm ( side, uplo, m, n, alpha, a, lda, b, ldb, beta, c, ldc ) S, D, C, Z
|
||||||
|
_hemm ( side, uplo, m, n, alpha, a, lda, b, ldb, beta, c, ldc ) C, Z
|
||||||
|
_syrk ( uplo, trans, n, k, alpha, a, lda, beta, c, ldc ) S, D, C, Z
|
||||||
|
_herk ( uplo, trans, n, k, alpha, a, lda, beta, c, ldc ) C, Z
|
||||||
|
_syr2k( uplo, trans, n, k, alpha, a, lda, b, ldb, beta, c, ldc ) S, D, C, Z
|
||||||
|
_her2k( uplo, trans, n, k, alpha, a, lda, b, ldb, beta, c, ldc ) C, Z
|
||||||
|
_trmm ( side, uplo, transA, diag, m, n, alpha, a, lda, b, ldb ) S, D, C, Z
|
||||||
|
_trsm ( side, uplo, transA, diag, m, n, alpha, a, lda, b, ldb ) S, D, C, Z
|
||||||
|
|
||||||
|
Meaning of prefixes
|
||||||
|
|
||||||
|
S - float32 C - complex64
|
||||||
|
D - float64 Z - complex128
|
||||||
|
|
||||||
|
Matrix types
|
||||||
|
|
||||||
|
GE - GEneral GB - General Band
|
||||||
|
SY - SYmmetric SB - Symmetric Band SP - Symmetric Packed
|
||||||
|
HE - HErmitian HB - Hermitian Band HP - Hermitian Packed
|
||||||
|
TR - TRiangular TB - Triangular Band TP - Triangular Packed
|
||||||
|
|
||||||
|
Options
|
||||||
|
|
||||||
|
trans = NoTrans, Trans, ConjTrans
|
||||||
|
uplo = Upper, Lower
|
||||||
|
diag = Nonunit, Unit
|
||||||
|
side = Left, Right (A or op(A) on the left, or A or op(A) on the right)
|
||||||
|
|
||||||
|
For real matrices, Trans and ConjTrans have the same meaning.
|
||||||
|
For Hermitian matrices, trans = Trans is not allowed.
|
||||||
|
For complex symmetric matrices, trans = ConjTrans is not allowed.
|
||||||
|
*/
|
||||||
|
package blas // import "gonum.org/v1/gonum/blas"
|
@@ -2,7 +2,6 @@
|
|||||||
// Use of this code is governed by a BSD-style
|
// Use of this code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file
|
// license that can be found in the LICENSE file
|
||||||
|
|
||||||
// Script for automatic code generation of the benchmark routines
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
6
blas/testblas/benchautogen/doc.go
Normal file
6
blas/testblas/benchautogen/doc.go
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
// Copyright ©2017 The gonum Authors. All rights reserved.
|
||||||
|
// Use of this source code is governed by a BSD-style
|
||||||
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
|
// Script for automatic code generation of the benchmark routines
|
||||||
|
package main // import "gonum.org/v1/gonum/blas/testblas/benchautogen"
|
6
blas/testblas/doc.go
Normal file
6
blas/testblas/doc.go
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
// Copyright ©2017 The gonum Authors. All rights reserved.
|
||||||
|
// Use of this source code is governed by a BSD-style
|
||||||
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
|
// Package testblas provides tests for blas implementations.
|
||||||
|
package testblas // import "gonum.org/v1/gonum/blas/testblas"
|
@@ -2,7 +2,6 @@
|
|||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
// Package testblas provides tests for blas implementations.
|
|
||||||
package testblas // import "gonum.org/v1/gonum/blas/testblas"
|
package testblas // import "gonum.org/v1/gonum/blas/testblas"
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@@ -2,7 +2,6 @@
|
|||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
// Package fd provides functions to approximate derivatives using finite differences.
|
|
||||||
package fd // import "gonum.org/v1/gonum/diff/fd"
|
package fd // import "gonum.org/v1/gonum/diff/fd"
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
6
diff/fd/doc.go
Normal file
6
diff/fd/doc.go
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
// Copyright ©2017 The gonum Authors. All rights reserved.
|
||||||
|
// Use of this source code is governed by a BSD-style
|
||||||
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
|
// Package fd provides functions to approximate derivatives using finite differences.
|
||||||
|
package fd // import "gonum.org/v1/gonum/diff/fd"
|
6
floats/doc.go
Normal file
6
floats/doc.go
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
// Copyright ©2017 The gonum Authors. All rights reserved.
|
||||||
|
// Use of this source code is governed by a BSD-style
|
||||||
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
|
// Package floats provides a set of helper routines for dealing with slices// of float64. The functions avoid allocations to allow for use within tight// loops without garbage collection overhead.//// The convention used is that when a slice is being modified in place, it has// the name dst.
|
||||||
|
package floats // import "gonum.org/v1/gonum/floats"
|
@@ -2,12 +2,6 @@
|
|||||||
// Use of this code is governed by a BSD-style
|
// Use of this code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file
|
// license that can be found in the LICENSE file
|
||||||
|
|
||||||
// Package floats provides a set of helper routines for dealing with slices
|
|
||||||
// of float64. The functions avoid allocations to allow for use within tight
|
|
||||||
// loops without garbage collection overhead.
|
|
||||||
//
|
|
||||||
// The convention used is that when a slice is being modified in place, it has
|
|
||||||
// the name dst.
|
|
||||||
package floats // import "gonum.org/v1/gonum/floats"
|
package floats // import "gonum.org/v1/gonum/floats"
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
6
graph/community/doc.go
Normal file
6
graph/community/doc.go
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
// Copyright ©2017 The gonum Authors. All rights reserved.
|
||||||
|
// Use of this source code is governed by a BSD-style
|
||||||
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
|
// Package community provides graph community detection functions.
|
||||||
|
package community // import "gonum.org/v1/gonum/graph/community"
|
@@ -2,7 +2,6 @@
|
|||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
// Package community provides graph community detection functions.
|
|
||||||
package community // import "gonum.org/v1/gonum/graph/community"
|
package community // import "gonum.org/v1/gonum/graph/community"
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
6
graph/encoding/doc.go
Normal file
6
graph/encoding/doc.go
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
// Copyright ©2017 The gonum Authors. All rights reserved.
|
||||||
|
// Use of this source code is governed by a BSD-style
|
||||||
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
|
// Package encoding provides a common graph encoding API.
|
||||||
|
package encoding // import "gonum.org/v1/gonum/graph/encoding"
|
6
graph/encoding/dot/doc.go
Normal file
6
graph/encoding/dot/doc.go
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
// Copyright ©2017 The gonum Authors. All rights reserved.
|
||||||
|
// Use of this source code is governed by a BSD-style
|
||||||
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
|
// Package dot implements GraphViz DOT marshaling and unmarshaling of graphs.//// See the GraphViz DOT Guide and the DOT grammar for more information// on using specific aspects of the DOT language://// DOT Guide: http://www.graphviz.org/Documentation/dotguide.pdf//// DOT grammar: http://www.graphviz.org/doc/info/lang.html//
|
||||||
|
package dot // import "gonum.org/v1/gonum/graph/encoding/dot"
|
@@ -2,13 +2,4 @@
|
|||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
// Package dot implements GraphViz DOT marshaling and unmarshaling of graphs.
|
|
||||||
//
|
|
||||||
// See the GraphViz DOT Guide and the DOT grammar for more information
|
|
||||||
// on using specific aspects of the DOT language:
|
|
||||||
//
|
|
||||||
// DOT Guide: http://www.graphviz.org/Documentation/dotguide.pdf
|
|
||||||
//
|
|
||||||
// DOT grammar: http://www.graphviz.org/doc/info/lang.html
|
|
||||||
//
|
|
||||||
package dot // import "gonum.org/v1/gonum/graph/encoding/dot"
|
package dot // import "gonum.org/v1/gonum/graph/encoding/dot"
|
||||||
|
@@ -2,7 +2,6 @@
|
|||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
// Package encoding provides a common graph encoding API.
|
|
||||||
package encoding // import "gonum.org/v1/gonum/graph/encoding"
|
package encoding // import "gonum.org/v1/gonum/graph/encoding"
|
||||||
|
|
||||||
import "gonum.org/v1/gonum/graph"
|
import "gonum.org/v1/gonum/graph"
|
||||||
|
6
graph/encoding/graphql/doc.go
Normal file
6
graph/encoding/graphql/doc.go
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
// Copyright ©2017 The gonum Authors. All rights reserved.
|
||||||
|
// Use of this source code is governed by a BSD-style
|
||||||
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
|
// Package graphql implements JSON marshaling and unmarshaling of graph as// used by GraphQL
|
||||||
|
package graphql // import "gonum.org/v1/gonum/graph/encoding/graphql"
|
@@ -2,6 +2,4 @@
|
|||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
// Package graphql implements JSON marshaling and unmarshaling of graph as
|
|
||||||
// used by GraphQL
|
|
||||||
package graphql // import "gonum.org/v1/gonum/graph/encoding/graphql"
|
package graphql // import "gonum.org/v1/gonum/graph/encoding/graphql"
|
||||||
|
@@ -8,8 +8,6 @@
|
|||||||
// This file is made available under a Creative Commons CC0 1.0
|
// This file is made available under a Creative Commons CC0 1.0
|
||||||
// Universal Public Domain Dedication.
|
// Universal Public Domain Dedication.
|
||||||
|
|
||||||
// Package ast declares the types used to represent abstract syntax trees of
|
|
||||||
// Graphviz DOT graphs.
|
|
||||||
package ast // import "gonum.org/v1/gonum/graph/formats/dot/ast"
|
package ast // import "gonum.org/v1/gonum/graph/formats/dot/ast"
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
6
graph/formats/dot/ast/doc.go
Normal file
6
graph/formats/dot/ast/doc.go
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
// Copyright ©2017 The gonum Authors. All rights reserved.
|
||||||
|
// Use of this source code is governed by a BSD-style
|
||||||
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
|
// Package ast declares the types used to represent abstract syntax trees of// Graphviz DOT graphs.
|
||||||
|
package ast // import "gonum.org/v1/gonum/graph/formats/dot/ast"
|
6
graph/formats/dot/doc.go
Normal file
6
graph/formats/dot/doc.go
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
// Copyright ©2017 The gonum Authors. All rights reserved.
|
||||||
|
// Use of this source code is governed by a BSD-style
|
||||||
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
|
// Package dot implements a parser for Graphviz DOT files.
|
||||||
|
package dot // import "gonum.org/v1/gonum/graph/formats/dot"
|
@@ -10,7 +10,6 @@
|
|||||||
|
|
||||||
//go:generate ./makeinternal.bash
|
//go:generate ./makeinternal.bash
|
||||||
|
|
||||||
// Package dot implements a parser for Graphviz DOT files.
|
|
||||||
package dot // import "gonum.org/v1/gonum/graph/formats/dot"
|
package dot // import "gonum.org/v1/gonum/graph/formats/dot"
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@@ -8,8 +8,6 @@
|
|||||||
// This file is made available under a Creative Commons CC0 1.0
|
// This file is made available under a Creative Commons CC0 1.0
|
||||||
// Universal Public Domain Dedication.
|
// Universal Public Domain Dedication.
|
||||||
|
|
||||||
// Package astx implements utility functions for generating abstract syntax
|
|
||||||
// trees of Graphviz DOT graphs.
|
|
||||||
package astx // import "gonum.org/v1/gonum/graph/formats/dot/internal/astx"
|
package astx // import "gonum.org/v1/gonum/graph/formats/dot/internal/astx"
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
6
graph/formats/dot/internal/astx/doc.go
Normal file
6
graph/formats/dot/internal/astx/doc.go
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
// Copyright ©2017 The gonum Authors. All rights reserved.
|
||||||
|
// Use of this source code is governed by a BSD-style
|
||||||
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
|
// Package astx implements utility functions for generating abstract syntax// trees of Graphviz DOT graphs.
|
||||||
|
package astx // import "gonum.org/v1/gonum/graph/formats/dot/internal/astx"
|
6
graph/graphs/gen/doc.go
Normal file
6
graph/graphs/gen/doc.go
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
// Copyright ©2017 The gonum Authors. All rights reserved.
|
||||||
|
// Use of this source code is governed by a BSD-style
|
||||||
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
|
// Package gen provides random graph generation functions.
|
||||||
|
package gen // import "gonum.org/v1/gonum/graph/graphs/gen"
|
@@ -2,7 +2,6 @@
|
|||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
// Package gen provides random graph generation functions.
|
|
||||||
package gen // import "gonum.org/v1/gonum/graph/graphs/gen"
|
package gen // import "gonum.org/v1/gonum/graph/graphs/gen"
|
||||||
|
|
||||||
import "gonum.org/v1/gonum/graph"
|
import "gonum.org/v1/gonum/graph"
|
||||||
|
6
graph/internal/linear/doc.go
Normal file
6
graph/internal/linear/doc.go
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
// Copyright ©2017 The gonum Authors. All rights reserved.
|
||||||
|
// Use of this source code is governed by a BSD-style
|
||||||
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
|
// Package linear provides common linear data structures.
|
||||||
|
package linear // import "gonum.org/v1/gonum/graph/internal/linear"
|
@@ -2,7 +2,6 @@
|
|||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
// Package linear provides common linear data structures.
|
|
||||||
package linear // import "gonum.org/v1/gonum/graph/internal/linear"
|
package linear // import "gonum.org/v1/gonum/graph/internal/linear"
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
6
graph/internal/ordered/doc.go
Normal file
6
graph/internal/ordered/doc.go
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
// Copyright ©2017 The gonum Authors. All rights reserved.
|
||||||
|
// Use of this source code is governed by a BSD-style
|
||||||
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
|
// Package ordered provides common sort ordering types.
|
||||||
|
package ordered // import "gonum.org/v1/gonum/graph/internal/ordered"
|
@@ -2,7 +2,6 @@
|
|||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
// Package ordered provides common sort ordering types.
|
|
||||||
package ordered // import "gonum.org/v1/gonum/graph/internal/ordered"
|
package ordered // import "gonum.org/v1/gonum/graph/internal/ordered"
|
||||||
|
|
||||||
import "gonum.org/v1/gonum/graph"
|
import "gonum.org/v1/gonum/graph"
|
||||||
|
6
graph/internal/set/doc.go
Normal file
6
graph/internal/set/doc.go
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
// Copyright ©2017 The gonum Authors. All rights reserved.
|
||||||
|
// Use of this source code is governed by a BSD-style
|
||||||
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
|
// Package set provides integer and graph.Node sets.
|
||||||
|
package set // import "gonum.org/v1/gonum/graph/internal/set"
|
@@ -2,7 +2,6 @@
|
|||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
// Package set provides integer and graph.Node sets.
|
|
||||||
package set // import "gonum.org/v1/gonum/graph/internal/set"
|
package set // import "gonum.org/v1/gonum/graph/internal/set"
|
||||||
|
|
||||||
import "gonum.org/v1/gonum/graph"
|
import "gonum.org/v1/gonum/graph"
|
||||||
|
6
graph/network/doc.go
Normal file
6
graph/network/doc.go
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
// Copyright ©2017 The gonum Authors. All rights reserved.
|
||||||
|
// Use of this source code is governed by a BSD-style
|
||||||
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
|
// Package network provides network analysis functions.
|
||||||
|
package network // import "gonum.org/v1/gonum/graph/network"
|
@@ -10,5 +10,4 @@
|
|||||||
// http://www.vldb.org/pvldb/vol7/p1023-maehara.pdf
|
// http://www.vldb.org/pvldb/vol7/p1023-maehara.pdf
|
||||||
// * other centrality measures
|
// * other centrality measures
|
||||||
|
|
||||||
// Package network provides network analysis functions.
|
|
||||||
package network // import "gonum.org/v1/gonum/graph/network"
|
package network // import "gonum.org/v1/gonum/graph/network"
|
||||||
|
6
graph/simple/doc.go
Normal file
6
graph/simple/doc.go
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
// Copyright ©2017 The gonum Authors. All rights reserved.
|
||||||
|
// Use of this source code is governed by a BSD-style
|
||||||
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
|
// Package simple provides a suite of simple graph implementations satisfying// the gonum/graph interfaces.
|
||||||
|
package simple // import "gonum.org/v1/gonum/graph/simple"
|
@@ -2,8 +2,6 @@
|
|||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
// Package simple provides a suite of simple graph implementations satisfying
|
|
||||||
// the gonum/graph interfaces.
|
|
||||||
package simple // import "gonum.org/v1/gonum/graph/simple"
|
package simple // import "gonum.org/v1/gonum/graph/simple"
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
6
graph/topo/doc.go
Normal file
6
graph/topo/doc.go
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
// Copyright ©2017 The gonum Authors. All rights reserved.
|
||||||
|
// Use of this source code is governed by a BSD-style
|
||||||
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
|
// Package topo provides graph topology analysis functions.
|
||||||
|
package topo // import "gonum.org/v1/gonum/graph/topo"
|
@@ -2,7 +2,6 @@
|
|||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
// Package topo provides graph topology analysis functions.
|
|
||||||
package topo // import "gonum.org/v1/gonum/graph/topo"
|
package topo // import "gonum.org/v1/gonum/graph/topo"
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
6
graph/traverse/doc.go
Normal file
6
graph/traverse/doc.go
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
// Copyright ©2017 The gonum Authors. All rights reserved.
|
||||||
|
// Use of this source code is governed by a BSD-style
|
||||||
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
|
// Package traverse provides basic graph traversal primitives.
|
||||||
|
package traverse // import "gonum.org/v1/gonum/graph/traverse"
|
@@ -2,7 +2,6 @@
|
|||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
// Package traverse provides basic graph traversal primitives.
|
|
||||||
package traverse // import "gonum.org/v1/gonum/graph/traverse"
|
package traverse // import "gonum.org/v1/gonum/graph/traverse"
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
6
integrate/quad/doc.go
Normal file
6
integrate/quad/doc.go
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
// Copyright ©2017 The gonum Authors. All rights reserved.
|
||||||
|
// Use of this source code is governed by a BSD-style
|
||||||
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
|
// Package quad provides numerical evaluation of definite integrals of single-variable functions.//
|
||||||
|
package quad // import "gonum.org/v1/gonum/integrate/quad"
|
@@ -2,8 +2,6 @@
|
|||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
// Package quad provides numerical evaluation of definite integrals of single-variable functions.
|
|
||||||
//
|
|
||||||
package quad // import "gonum.org/v1/gonum/integrate/quad"
|
package quad // import "gonum.org/v1/gonum/integrate/quad"
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@@ -6,8 +6,6 @@
|
|||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
// Package cmplx64 provides complex64 versions of standard library math/cmplx
|
|
||||||
// package routines used by gonum/blas.
|
|
||||||
package cmplx64
|
package cmplx64
|
||||||
|
|
||||||
import math "gonum.org/v1/gonum/internal/math32"
|
import math "gonum.org/v1/gonum/internal/math32"
|
||||||
|
6
internal/cmplx64/doc.go
Normal file
6
internal/cmplx64/doc.go
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
// Copyright ©2017 The gonum Authors. All rights reserved.
|
||||||
|
// Use of this source code is governed by a BSD-style
|
||||||
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
|
// Package cmplx64 provides complex64 versions of standard library math/cmplx// package routines used by gonum/blas.
|
||||||
|
package cmplx64 // import "gonum.org/v1/gonum/internal/cmplx64"
|
6
internal/math32/doc.go
Normal file
6
internal/math32/doc.go
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
// Copyright ©2017 The gonum Authors. All rights reserved.
|
||||||
|
// Use of this source code is governed by a BSD-style
|
||||||
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
|
// Package math32 provides float32 versions of standard library math package// routines used by gonum/blas/native.
|
||||||
|
package math32 // import "gonum.org/v1/gonum/internal/math32"
|
@@ -6,8 +6,6 @@
|
|||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
// Package math32 provides float32 versions of standard library math package
|
|
||||||
// routines used by gonum/blas/native.
|
|
||||||
package math32 // import "gonum.org/v1/gonum/internal/math32"
|
package math32 // import "gonum.org/v1/gonum/internal/math32"
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
6
lapack/lapack64/doc.go
Normal file
6
lapack/lapack64/doc.go
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
// Copyright ©2017 The gonum Authors. All rights reserved.
|
||||||
|
// Use of this source code is governed by a BSD-style
|
||||||
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
|
// Package lapack64 provides a set of convenient wrapper functions for LAPACK// calls, as specified in the netlib standard (www.netlib.org).//// The native Go routines are used by default, and the Use function can be used// to set an alternative implementation.//// If the type of matrix (General, Symmetric, etc.) is known and fixed, it is// used in the wrapper signature. In many cases, however, the type of the matrix// changes during the call to the routine, for example the matrix is symmetric on// entry and is triangular on exit. In these cases the correct types should be checked// in the documentation.//// The full set of Lapack functions is very large, and it is not clear that a// full implementation is desirable, let alone feasible. Please open up an issue// if there is a specific function you need and/or are willing to implement.
|
||||||
|
package lapack64 // import "gonum.org/v1/gonum/lapack/lapack64"
|
@@ -2,21 +2,6 @@
|
|||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
// Package lapack64 provides a set of convenient wrapper functions for LAPACK
|
|
||||||
// calls, as specified in the netlib standard (www.netlib.org).
|
|
||||||
//
|
|
||||||
// The native Go routines are used by default, and the Use function can be used
|
|
||||||
// to set an alternative implementation.
|
|
||||||
//
|
|
||||||
// If the type of matrix (General, Symmetric, etc.) is known and fixed, it is
|
|
||||||
// used in the wrapper signature. In many cases, however, the type of the matrix
|
|
||||||
// changes during the call to the routine, for example the matrix is symmetric on
|
|
||||||
// entry and is triangular on exit. In these cases the correct types should be checked
|
|
||||||
// in the documentation.
|
|
||||||
//
|
|
||||||
// The full set of Lapack functions is very large, and it is not clear that a
|
|
||||||
// full implementation is desirable, let alone feasible. Please open up an issue
|
|
||||||
// if there is a specific function you need and/or are willing to implement.
|
|
||||||
package lapack64 // import "gonum.org/v1/gonum/lapack/lapack64"
|
package lapack64 // import "gonum.org/v1/gonum/lapack/lapack64"
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@@ -2,7 +2,6 @@
|
|||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
// package amos implements functions originally in the Netlab code by Donald Amos.
|
|
||||||
package amos
|
package amos
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
6
mathext/internal/amos/doc.go
Normal file
6
mathext/internal/amos/doc.go
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
// Copyright ©2017 The gonum Authors. All rights reserved.
|
||||||
|
// Use of this source code is governed by a BSD-style
|
||||||
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
|
// package amos implements functions originally in the Netlab code by Donald Amos.
|
||||||
|
package amos // import "gonum.org/v1/gonum/mathext/internal/amos"
|
@@ -2,7 +2,6 @@
|
|||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
// Package cephes implements functions originally in the Netlib code by Stephen Mosher.
|
|
||||||
package cephes // import "gonum.org/v1/gonum/mathext/internal/cephes"
|
package cephes // import "gonum.org/v1/gonum/mathext/internal/cephes"
|
||||||
|
|
||||||
import "math"
|
import "math"
|
||||||
|
6
mathext/internal/cephes/doc.go
Normal file
6
mathext/internal/cephes/doc.go
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
// Copyright ©2017 The gonum Authors. All rights reserved.
|
||||||
|
// Use of this source code is governed by a BSD-style
|
||||||
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
|
// Package cephes implements functions originally in the Netlib code by Stephen Mosher.
|
||||||
|
package cephes // import "gonum.org/v1/gonum/mathext/internal/cephes"
|
6
mathext/internal/gonum/doc.go
Normal file
6
mathext/internal/gonum/doc.go
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
// Copyright ©2017 The gonum Authors. All rights reserved.
|
||||||
|
// Use of this source code is governed by a BSD-style
|
||||||
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
|
// package gonum contains functions implemented by the gonum team. It is here to// avoid circular imports and/or double coding of functions.
|
||||||
|
package gonum // import "gonum.org/v1/gonum/mathext/internal/gonum"
|
@@ -2,6 +2,4 @@
|
|||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
// package gonum contains functions implemented by the gonum team. It is here to
|
|
||||||
// avoid circular imports and/or double coding of functions.
|
|
||||||
package gonum
|
package gonum
|
||||||
|
@@ -2,8 +2,6 @@
|
|||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
// Package combin implements routines involving combinatorics (permutations,
|
|
||||||
// combinations, etc.).
|
|
||||||
package combin // import "gonum.org/v1/gonum/stat/combin"
|
package combin // import "gonum.org/v1/gonum/stat/combin"
|
||||||
|
|
||||||
import "math"
|
import "math"
|
||||||
|
6
stat/combin/doc.go
Normal file
6
stat/combin/doc.go
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
// Copyright ©2017 The gonum Authors. All rights reserved.
|
||||||
|
// Use of this source code is governed by a BSD-style
|
||||||
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
|
// Package combin implements routines involving combinatorics (permutations,// combinations, etc.).
|
||||||
|
package combin // import "gonum.org/v1/gonum/stat/combin"
|
6
stat/distmat/doc.go
Normal file
6
stat/distmat/doc.go
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
// Copyright ©2017 The gonum Authors. All rights reserved.
|
||||||
|
// Use of this source code is governed by a BSD-style
|
||||||
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
|
// Package distmat provides probability distributions over matrices.
|
||||||
|
package distmat // import "gonum.org/v1/gonum/stat/distmat"
|
@@ -2,7 +2,6 @@
|
|||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
// Package distmat provides probability distributions over matrices.
|
|
||||||
package distmat // import "gonum.org/v1/gonum/stat/distmat"
|
package distmat // import "gonum.org/v1/gonum/stat/distmat"
|
||||||
|
|
||||||
var badDim = "distmat: dimension mismatch"
|
var badDim = "distmat: dimension mismatch"
|
||||||
|
6
stat/distmv/doc.go
Normal file
6
stat/distmv/doc.go
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
// Copyright ©2017 The gonum Authors. All rights reserved.
|
||||||
|
// Use of this source code is governed by a BSD-style
|
||||||
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
|
// Package distmv provides multivariate random distribution types.
|
||||||
|
package distmv // import "gonum.org/v1/gonum/stat/distmv"
|
@@ -2,7 +2,6 @@
|
|||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
// Package distmv provides multivariate random distribution types.
|
|
||||||
package distmv // import "gonum.org/v1/gonum/stat/distmv"
|
package distmv // import "gonum.org/v1/gonum/stat/distmv"
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
6
stat/distuv/doc.go
Normal file
6
stat/distuv/doc.go
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
// Copyright ©2017 The gonum Authors. All rights reserved.
|
||||||
|
// Use of this source code is governed by a BSD-style
|
||||||
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
|
// Package distuv provides univariate random distribution types.
|
||||||
|
package distuv // import "gonum.org/v1/gonum/stat/distuv"
|
@@ -2,7 +2,6 @@
|
|||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
// Package distuv provides univariate random distribution types.
|
|
||||||
package distuv // import "gonum.org/v1/gonum/stat/distuv"
|
package distuv // import "gonum.org/v1/gonum/stat/distuv"
|
||||||
|
|
||||||
import "math"
|
import "math"
|
||||||
|
6
stat/doc.go
Normal file
6
stat/doc.go
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
// Copyright ©2017 The gonum Authors. All rights reserved.
|
||||||
|
// Use of this source code is governed by a BSD-style
|
||||||
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
|
// Package stat provides generalized statistical functions.
|
||||||
|
package stat // import "gonum.org/v1/gonum/stat"
|
6
stat/samplemv/doc.go
Normal file
6
stat/samplemv/doc.go
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
// Copyright ©2017 The gonum Authors. All rights reserved.
|
||||||
|
// Use of this source code is governed by a BSD-style
|
||||||
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
|
// Package samplemv implements advanced sampling routines from explicit and implicit// probability distributions.//// Each sampling routine is implemented as a stateless function with a// complementary wrapper type. The wrapper types allow the sampling routines// to implement interfaces.
|
||||||
|
package samplemv // import "gonum.org/v1/gonum/stat/samplemv"
|
@@ -2,12 +2,6 @@
|
|||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
// Package samplemv implements advanced sampling routines from explicit and implicit
|
|
||||||
// probability distributions.
|
|
||||||
//
|
|
||||||
// Each sampling routine is implemented as a stateless function with a
|
|
||||||
// complementary wrapper type. The wrapper types allow the sampling routines
|
|
||||||
// to implement interfaces.
|
|
||||||
package samplemv // import "gonum.org/v1/gonum/stat/samplemv"
|
package samplemv // import "gonum.org/v1/gonum/stat/samplemv"
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
6
stat/sampleuv/doc.go
Normal file
6
stat/sampleuv/doc.go
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
// Copyright ©2017 The gonum Authors. All rights reserved.
|
||||||
|
// Use of this source code is governed by a BSD-style
|
||||||
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
|
// Package sampleuv implements advanced sampling routines from explicit and implicit// probability distributions.//// Each sampling routine is implemented as a stateless function with a// complementary wrapper type. The wrapper types allow the sampling routines// to implement interfaces.
|
||||||
|
package sampleuv // import "gonum.org/v1/gonum/stat/sampleuv"
|
@@ -2,12 +2,6 @@
|
|||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
// Package sampleuv implements advanced sampling routines from explicit and implicit
|
|
||||||
// probability distributions.
|
|
||||||
//
|
|
||||||
// Each sampling routine is implemented as a stateless function with a
|
|
||||||
// complementary wrapper type. The wrapper types allow the sampling routines
|
|
||||||
// to implement interfaces.
|
|
||||||
package sampleuv // import "gonum.org/v1/gonum/stat/sampleuv"
|
package sampleuv // import "gonum.org/v1/gonum/stat/sampleuv"
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@@ -2,7 +2,6 @@
|
|||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
// Package stat provides generalized statistical functions.
|
|
||||||
package stat // import "gonum.org/v1/gonum/stat"
|
package stat // import "gonum.org/v1/gonum/stat"
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
Reference in New Issue
Block a user