mirror of
https://github.com/gonum/gonum.git
synced 2025-10-04 23:02:42 +08:00
Revert "all: use fixdocs tool to store package documentation in doc.go"
This reverts commit 963877e5f5
.
This commit is contained in:
103
blas/blas.go
103
blas/blas.go
@@ -4,6 +4,109 @@
|
||||
|
||||
//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"
|
||||
|
||||
// Flag constants indicate Givens transformation H matrix state.
|
||||
|
@@ -2,6 +2,7 @@
|
||||
// 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"
|
||||
|
||||
import (
|
||||
|
@@ -1,4 +0,0 @@
|
||||
/*
|
||||
Package blas32 provides a simple interface to the float32 BLAS API.
|
||||
*/
|
||||
package blas32 // import "gonum.org/v1/gonum/blas/blas32"
|
@@ -2,6 +2,7 @@
|
||||
// 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"
|
||||
|
||||
import (
|
||||
|
@@ -1,4 +0,0 @@
|
||||
/*
|
||||
Package blas64 provides a simple interface to the float64 BLAS API.
|
||||
*/
|
||||
package blas64 // import "gonum.org/v1/gonum/blas/blas64"
|
@@ -2,6 +2,7 @@
|
||||
// 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"
|
||||
|
||||
import (
|
||||
|
@@ -1,4 +0,0 @@
|
||||
/*
|
||||
Package cblas128 provides a simple interface to the complex128 BLAS API.
|
||||
*/
|
||||
package cblas128 // import "gonum.org/v1/gonum/blas/cblas128"
|
@@ -2,6 +2,7 @@
|
||||
// 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"
|
||||
|
||||
import (
|
||||
|
@@ -1,4 +0,0 @@
|
||||
/*
|
||||
Package cblas64 provides a simple interface to the complex64 BLAS API.
|
||||
*/
|
||||
package cblas64 // import "gonum.org/v1/gonum/blas/cblas64"
|
104
blas/doc.go
104
blas/doc.go
@@ -1,104 +0,0 @@
|
||||
/*
|
||||
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,6 +2,7 @@
|
||||
// Use of this 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 (
|
||||
|
@@ -1,4 +0,0 @@
|
||||
/*
|
||||
Script for automatic code generation of the benchmark routines
|
||||
*/
|
||||
package main // import "gonum.org/v1/gonum/blas/testblas/benchautogen"
|
@@ -1,4 +0,0 @@
|
||||
/*
|
||||
Package testblas provides tests for blas implementations.
|
||||
*/
|
||||
package testblas // import "gonum.org/v1/gonum/blas/testblas"
|
@@ -2,6 +2,7 @@
|
||||
// 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"
|
||||
|
||||
import (
|
||||
|
@@ -2,6 +2,7 @@
|
||||
// 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"
|
||||
|
||||
import (
|
||||
|
@@ -1,4 +0,0 @@
|
||||
/*
|
||||
Package fd provides functions to approximate derivatives using finite differences.
|
||||
*/
|
||||
package fd // import "gonum.org/v1/gonum/diff/fd"
|
@@ -1,9 +0,0 @@
|
||||
/*
|
||||
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,6 +2,12 @@
|
||||
// Use of this 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"
|
||||
|
||||
import (
|
||||
|
@@ -1,4 +0,0 @@
|
||||
/*
|
||||
Package community provides graph community detection functions.
|
||||
*/
|
||||
package community // import "gonum.org/v1/gonum/graph/community"
|
@@ -2,6 +2,7 @@
|
||||
// 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"
|
||||
|
||||
import (
|
||||
|
@@ -1,4 +0,0 @@
|
||||
/*
|
||||
Package encoding provides a common graph encoding API.
|
||||
*/
|
||||
package encoding // import "gonum.org/v1/gonum/graph/encoding"
|
@@ -1,11 +0,0 @@
|
||||
/*
|
||||
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,4 +2,13 @@
|
||||
// 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,6 +2,7 @@
|
||||
// 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"
|
||||
|
||||
import "gonum.org/v1/gonum/graph"
|
||||
|
@@ -1,5 +0,0 @@
|
||||
/*
|
||||
Package graphql implements JSON marshaling and unmarshaling of graph as
|
||||
used by GraphQL
|
||||
*/
|
||||
package graphql // import "gonum.org/v1/gonum/graph/encoding/graphql"
|
@@ -2,4 +2,6 @@
|
||||
// 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"
|
||||
|
@@ -8,6 +8,8 @@
|
||||
// This file is made available under a Creative Commons CC0 1.0
|
||||
// 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"
|
||||
|
||||
import (
|
||||
|
@@ -1,5 +0,0 @@
|
||||
/*
|
||||
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"
|
@@ -1,4 +0,0 @@
|
||||
/*
|
||||
Package dot implements a parser for Graphviz DOT files.
|
||||
*/
|
||||
package dot // import "gonum.org/v1/gonum/graph/formats/dot"
|
@@ -10,6 +10,7 @@
|
||||
|
||||
//go:generate ./makeinternal.bash
|
||||
|
||||
// Package dot implements a parser for Graphviz DOT files.
|
||||
package dot // import "gonum.org/v1/gonum/graph/formats/dot"
|
||||
|
||||
import (
|
||||
|
@@ -8,6 +8,8 @@
|
||||
// This file is made available under a Creative Commons CC0 1.0
|
||||
// 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"
|
||||
|
||||
import (
|
||||
|
@@ -1,5 +0,0 @@
|
||||
/*
|
||||
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"
|
@@ -1,4 +0,0 @@
|
||||
/*
|
||||
Package gen provides random graph generation functions.
|
||||
*/
|
||||
package gen // import "gonum.org/v1/gonum/graph/graphs/gen"
|
@@ -2,6 +2,7 @@
|
||||
// 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"
|
||||
|
||||
import "gonum.org/v1/gonum/graph"
|
||||
|
@@ -1,4 +0,0 @@
|
||||
/*
|
||||
Package linear provides common linear data structures.
|
||||
*/
|
||||
package linear // import "gonum.org/v1/gonum/graph/internal/linear"
|
@@ -2,6 +2,7 @@
|
||||
// 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"
|
||||
|
||||
import (
|
||||
|
@@ -1,4 +0,0 @@
|
||||
/*
|
||||
Package ordered provides common sort ordering types.
|
||||
*/
|
||||
package ordered // import "gonum.org/v1/gonum/graph/internal/ordered"
|
@@ -2,6 +2,7 @@
|
||||
// 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"
|
||||
|
||||
import "gonum.org/v1/gonum/graph"
|
||||
|
@@ -1,4 +0,0 @@
|
||||
/*
|
||||
Package set provides integer and graph.Node sets.
|
||||
*/
|
||||
package set // import "gonum.org/v1/gonum/graph/internal/set"
|
@@ -2,6 +2,7 @@
|
||||
// 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"
|
||||
|
||||
import "gonum.org/v1/gonum/graph"
|
||||
|
@@ -1,4 +0,0 @@
|
||||
/*
|
||||
Package network provides network analysis functions.
|
||||
*/
|
||||
package network // import "gonum.org/v1/gonum/graph/network"
|
@@ -10,4 +10,5 @@
|
||||
// http://www.vldb.org/pvldb/vol7/p1023-maehara.pdf
|
||||
// * other centrality measures
|
||||
|
||||
// Package network provides network analysis functions.
|
||||
package network // import "gonum.org/v1/gonum/graph/network"
|
||||
|
@@ -1,5 +0,0 @@
|
||||
/*
|
||||
Package simple provides a suite of simple graph implementations satisfying
|
||||
the gonum/graph interfaces.
|
||||
*/
|
||||
package simple // import "gonum.org/v1/gonum/graph/simple"
|
@@ -2,6 +2,8 @@
|
||||
// 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"
|
||||
|
||||
import (
|
||||
|
@@ -1,4 +0,0 @@
|
||||
/*
|
||||
Package topo provides graph topology analysis functions.
|
||||
*/
|
||||
package topo // import "gonum.org/v1/gonum/graph/topo"
|
@@ -2,6 +2,7 @@
|
||||
// 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"
|
||||
|
||||
import (
|
||||
|
@@ -1,4 +0,0 @@
|
||||
/*
|
||||
Package traverse provides basic graph traversal primitives.
|
||||
*/
|
||||
package traverse // import "gonum.org/v1/gonum/graph/traverse"
|
@@ -2,6 +2,7 @@
|
||||
// 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"
|
||||
|
||||
import (
|
||||
|
@@ -1,4 +0,0 @@
|
||||
/*
|
||||
Package quad provides numerical evaluation of definite integrals of single-variable functions.
|
||||
*/
|
||||
package quad // import "gonum.org/v1/gonum/integrate/quad"
|
@@ -2,6 +2,8 @@
|
||||
// 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"
|
||||
|
||||
import (
|
||||
|
@@ -6,6 +6,8 @@
|
||||
// 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 math "gonum.org/v1/gonum/internal/math32"
|
||||
|
@@ -1,5 +0,0 @@
|
||||
/*
|
||||
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"
|
@@ -1,5 +0,0 @@
|
||||
/*
|
||||
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,6 +6,8 @@
|
||||
// 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"
|
||||
|
||||
import (
|
||||
|
@@ -1,18 +0,0 @@
|
||||
/*
|
||||
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,6 +2,21 @@
|
||||
// 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"
|
||||
|
||||
import (
|
||||
|
@@ -2,6 +2,7 @@
|
||||
// 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 (
|
||||
|
@@ -1,4 +0,0 @@
|
||||
/*
|
||||
package amos implements functions originally in the Netlab code by Donald Amos.
|
||||
*/
|
||||
package amos // import "gonum.org/v1/gonum/mathext/internal/amos"
|
@@ -2,6 +2,7 @@
|
||||
// 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"
|
||||
|
||||
import "math"
|
||||
|
@@ -1,4 +0,0 @@
|
||||
/*
|
||||
Package cephes implements functions originally in the Netlib code by Stephen Mosher.
|
||||
*/
|
||||
package cephes // import "gonum.org/v1/gonum/mathext/internal/cephes"
|
@@ -1,5 +0,0 @@
|
||||
/*
|
||||
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,4 +2,6 @@
|
||||
// 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
|
||||
|
@@ -2,6 +2,8 @@
|
||||
// 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"
|
||||
|
||||
import "math"
|
||||
|
@@ -1,5 +0,0 @@
|
||||
/*
|
||||
Package combin implements routines involving combinatorics (permutations,
|
||||
combinations, etc.).
|
||||
*/
|
||||
package combin // import "gonum.org/v1/gonum/stat/combin"
|
@@ -1,4 +0,0 @@
|
||||
/*
|
||||
Package distmat provides probability distributions over matrices.
|
||||
*/
|
||||
package distmat // import "gonum.org/v1/gonum/stat/distmat"
|
@@ -2,6 +2,7 @@
|
||||
// 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"
|
||||
|
||||
var badDim = "distmat: dimension mismatch"
|
||||
|
@@ -1,4 +0,0 @@
|
||||
/*
|
||||
Package distmv provides multivariate random distribution types.
|
||||
*/
|
||||
package distmv // import "gonum.org/v1/gonum/stat/distmv"
|
@@ -2,6 +2,7 @@
|
||||
// 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"
|
||||
|
||||
var (
|
||||
|
@@ -1,4 +0,0 @@
|
||||
/*
|
||||
Package distuv provides univariate random distribution types.
|
||||
*/
|
||||
package distuv // import "gonum.org/v1/gonum/stat/distuv"
|
@@ -2,6 +2,7 @@
|
||||
// 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"
|
||||
|
||||
import "math"
|
||||
|
@@ -1,4 +0,0 @@
|
||||
/*
|
||||
Package stat provides generalized statistical functions.
|
||||
*/
|
||||
package stat // import "gonum.org/v1/gonum/stat"
|
@@ -1,9 +0,0 @@
|
||||
/*
|
||||
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,6 +2,12 @@
|
||||
// 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"
|
||||
|
||||
import (
|
||||
|
@@ -1,9 +0,0 @@
|
||||
/*
|
||||
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,6 +2,12 @@
|
||||
// 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"
|
||||
|
||||
import (
|
||||
|
@@ -2,6 +2,7 @@
|
||||
// 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"
|
||||
|
||||
import (
|
||||
|
Reference in New Issue
Block a user