Class Matrix-Base-Dge

Part of:

package lisplab, class matrix-structure-general, class matrix-implementation-base, class matrix-lisp-dge, class matrix-element-double-float

Direct Superclass


Direct Subclass

matrix-lisp-dgeA full matrix (rows x cols) with double float elements.
Executes in lisp only.


colsInitform:0, Initargs::cols; Reader:cols; Type:type-blas-idx.
element-typeInitform:t; Reader:element-type; Allocation:class.
element-type-class-nameInitform:'matrix-element-base; Reader:element-type-class-name; Allocation:class.
element-type-specInitform:any; Reader:element-type-spec; Allocation:class.
implementation-class-nameInitform:'matrix-implementation-base; Reader:implementation-class-name; Allocation:class.
implementation-specInitform:base; Reader:implementation-spec; Allocation:class.
matrix-storeInitargs::store; Accessors:matrix-store; Type:type-blas-store.
rowsInitform:0, Initargs::rows; Reader:rows; Type:type-blas-idx.
sizeReader:size; Type:type-blas-idx.
structure-class-nameInitform:'matrix-structure-base; Reader:structure-class-name; Allocation:class.
structure-specInitform:base; Reader:structure-spec; Allocation:class.

Direct Method

.absGenerialized abs.
.acosInverse cosine function : acos(x).
.acoshInverse hyperbolic cosine function : acosh(x).
.addAddes a and b elementwise. Called by .+
.asinInverse sine function : asin(x).
.asinhInverse hyperbolic sine function : asinh(x).
.atanInverse tangent function : atan(x).
.atanhInverse hyperbolic tangent function : atanh(x).
.besh1Hankel function 1. Bessel functions of the third kind : H^(1)_n(x).
.besh2Hankel function 2. Bessel functions of the third kind : H^(2)_n(x).
.complexGeneralized complex.
.conjGeneralized conjugate.
.cosCosine function : cos(x).
.coshHyperbolic cosine function : cosh(x).
.divDivides a with b elementwise. Called by ./
.everyGeneralizes every.
.expExponential function : exp(x).
.exptRises a to power b elementwise. Called by .^
.imGenerialized abs.
.lnLogarithm function
.maxGenerialized max.
.minGenerialized min.
.mulMultiplies a and b elementwise. Called by .*
.reGenerialized realpart.
.sgnGenerialized signum.
.sinSine function : sin(x).
.sinhHyperbolic sine function : sinh(x).
.someGeneralizes some
.sqrtSquare root.
.subSubtracts b from a elementwise. Called by .-
.tanTangent function : tan(x).
.tanhHyperbolic tangent function : tanh(x).
copyCopies the elements and structure, but ignore
shared state, like fill pointers etc.
copy-contentsCopies all elements from a to b.
fft-shiftRestructuring of Brillouin zones
fft1Forward fast fourier transform on all columns
fft2Forward fast fourier transform on all rows and columns
ifft-shiftInverse restructuring of Brillouin zones
ifft1Inverse fast fourier transform on all columns
ifft2Inverse fast fourier transform on all rows and columns
lin-solveSolves the linear system of equations Ax=b.
lu-factor!LU-factorization with pivoting. Destructive.
Ouputs a combined LU matrix where the diagonals bel...
m*Matrix multiplication.
mabsmaxRetuns the matrix element with largest absolute value
mabsminRetuns the matrix element closest to zero
mctMatrix conjugate transpose.
mfillSets each element to the value. Destructive
minvMatrix inverse.
minv!Matrix inverse. Destructive.
mmapGeneralization of map, where type = t gives output
type equals type of m.
mmap-intoGeneralization of map-into.
mmaxRetuns the largest matrix element
mminRetuns the smalles matrix element
mminmaxRetuns a list with (minumum maximum)
mrefMatrix accessor.
mreverseReverts elements of matrix or vector. Similar to cl:reverse
msumSums all matrix elements
vrefVector accessor.

Other Method

./=Generalized /=.
.<Generalized <.
.<=Generalized <=.
.=Element-wise test of equality, with presition.
.>Generalized >.
.>=Generalized >=.
.besiModified Bessel functions : I_n(x).
.besjBessel functions of the first kind : J_n(x).
.beskModified Bessel functions : K_n(x).
.besyThe Neumann function. Bessel functions of the second kind : Y_n(x).
.erfThe error function : erf(x)
.erfcThe complementary error function : erfc(x)
.gammaThe gamma function : gamma(x)
circ-shiftShifts the matrix with periodic indecices
convertConverts the object to the specified type. Non-destructive.
dimGives a list of all dimension lengths, or the length of
the dimension specified.
dlmwriteWrite matrix to ASCII-delimited file or stream
export-listExports the elements of the matrix to a list.
import-listImports the elements of the matrix from a list.
lu-factorLU-factorization with pivoting. Outputs (L U P) where
L is low diagonal with unity at diagnoals,...
lu-solve!Solves the linear equation system LUx=b, where LU is an output
from LU-factor!.
m/Short for (m* a (minv b)).
matrix-pA matrix is a object whose elements are accesible with mref.
mcreateCreates a new matrix of the same type and with
the same value as the other, but with all element...
mcreate*Extended version of mcreate. Creates a new matrix of the same type
and with the same value as th...
mdetMatrix determinant.
mmap-operatorCalls the operator, e.g., .add, .mul, on the elements of the matrices.
mtpMatrix transpose.
mtrMatrix trace (sum of diagonal elements).
pad-shiftShifts the matrix and pads results
rankThe rank is the number of dimensions.
reshapeReshapes the object
to-matrixReshape the object to 2D
to-vectorReshape the object to 1D
vcrossCross product. Must be a vecotors of length 3
vdotDot product of vectors
vector-pA vector is a object whose elements are accessible with vref.
vnormThe vector norm