Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
D
F
G
I
J
M
N
O
P
R
S
T
V
Z
A
abs(double[])
- Static method in class STBB.
MAT
returns absolute values componentwise.
abs(double[][])
- Static method in class STBB.
MAT
Absolute value operation componentwise.
add(double[], double)
- Static method in class STBB.
MAT
add a constant to a vector
add(double[], double[])
- Static method in class STBB.
MAT
vector addition
add(double[][], double)
- Static method in class STBB.
MAT
add a constant to a matrix
add(double[][], double[][])
- Static method in class STBB.
MAT
Matrix addition
addDiagonals(double[][], double[])
- Static method in class STBB.
MAT
return a new matrix of m1 with m2 added onto its diagonals
append(double[], double)
- Static method in class STBB.
MAT
example: append({1,2,3},5)={1,2,3,5}
C
copy(double[])
- Static method in class STBB.
MAT
copy returns an exact replica of v.
copy(double[][])
- Static method in class STBB.
MAT
copy returns an exact replica of m.
correlation(double[], double[])
- Static method in class STBB.
MAT
compute correlation between v1 and v2.
D
diagonalMatrix(double[])
- Static method in class STBB.
MAT
get a diagonal matrix with v[] as the diagonal elements
divide(double[], double[])
- Static method in class STBB.
MAT
return m1/m2 componentwise
dot(double[][], double[][])
- Static method in class STBB.
MAT
Matrix multiplication m1.m2
dot(double[][], double[])
- Static method in class STBB.
MAT
Matrix-Vector multiplication m1.v2
dot(double[], double[])
- Static method in class STBB.
MAT
Vector dot product v1.v2
drop(double[], int)
- Static method in class STBB.
MAT
Drop the first
i
number of components
i
cannot be equal to the length of the vector.
F
FourierDomainSignal(double[][])
- Method in class STBB.
SheppLogan3D
Given a list of (kx,ky,kz), the k-space signals at those locations are returned.
FourierDomainSignal(double, double, double)
- Method in class STBB.
SheppLogan3D
returning the complex signal evaluated at ( kx, ky, kz) in an array of length 2, i.e.
flatten(double[][])
- Static method in class STBB.
MAT
example: flatten({{1,2,3},{4,5}}) = {1,2,3,4,5}
G
generalDotProduct(double[], double[][], double[])
- Static method in class STBB.
MAT
v1^T.metric.v2
generalDotProduct(double[], double[][])
- Static method in class STBB.
MAT
v1^T.metric.v1 assuming metric is a square matrix
getDiagonals(double[][])
- Static method in class STBB.
MAT
get the diagonal elements from m
I
ImageDomainSignal(double[][])
- Method in class STBB.
SheppLogan3D
Given a list of position vectors, i.e.
ImageDomainSignal(double, double, double)
- Method in class STBB.
SheppLogan3D
returning real value of the image intensity at (x,y,z).
identityMatrix(int)
- Static method in class STBB.
MAT
get an dim x dim identity matrix
J
join(double[], double[])
- Static method in class STBB.
MAT
join two arrays into one.
M
MAT
- class STBB.
MAT
.
This class provides many static methods for vector and matrix manipulation.
max(double[])
- Static method in class STBB.
MAT
find the maximum value in an array.
max(double[][])
- Static method in class STBB.
MAT
find the maximum value in a double array
max(double[][][])
- Static method in class STBB.
MAT
find the maximum value in data.
maxAbs(double[])
- Static method in class STBB.
MAT
find the maximum value of the absolute values of an array.
maxAbs(double[][])
- Static method in class STBB.
MAT
find the max value of the absolute values of a double array.
mean(double[])
- Static method in class STBB.
MAT
get the mean value of vector v.
min(double[])
- Static method in class STBB.
MAT
find the minimum value is data.
min(double[][])
- Static method in class STBB.
MAT
find the minimum value in a matrix.
min(double[][][])
- Static method in class STBB.
MAT
find the minimum value in data.
minAbs(double[])
- Static method in class STBB.
MAT
find the minimum value of the absolute values of an array v.
minAbs(double[][])
- Static method in class STBB.
MAT
find the minimum value of the absolute values of a double array.
multiply(double[], double)
- Static method in class STBB.
MAT
Component-wise multiplication between a vector and a number.
multiply(double[], double[])
- Static method in class STBB.
MAT
Component-wise multiplication between two vectors.
multiply(double[][], double)
- Static method in class STBB.
MAT
Component-wise multiplication between a matrix and a number.
multiply(double[][], double[][])
- Static method in class STBB.
MAT
Component-wise multiplication between two matrices.
N
norm(double[][])
- Static method in class STBB.
MAT
Frobenius norm
norm(double[])
- Static method in class STBB.
MAT
vector norm
normalize(double[])
- Static method in class STBB.
MAT
Obtain a normalized vector from v
O
ones(int)
- Static method in class STBB.
MAT
get an array of one's with length num
ones(int, int)
- Static method in class STBB.
MAT
get a matrix of one's with dimensions ro x co
outerProduct(double[], double[])
- Static method in class STBB.
MAT
outer product of two vectors.
P
prepend(double[], double)
- Static method in class STBB.
MAT
example: prepend({1,2,3},5)={5,1,2,3}
R
random(int, double, double)
- Static method in class STBB.
MAT
an array of N uniform random numbers ranging from a to b (a < b);
random(int)
- Static method in class STBB.
MAT
an array of N uniform random values ranging from -1.0 to 1.0);
removeDiagonals(double[][])
- Static method in class STBB.
MAT
set the diagonal elements of mat to zero.
removeMean(double[])
- Static method in class STBB.
MAT
Obtain a vector with zero mean
S
STBB
- package STBB
SheppLogan3D
- class STBB.
SheppLogan3D
.
Three-dimensional Shepp-Logan Phantom in both the Fourier and image domains.
SheppLogan3D()
- Constructor for class STBB.
SheppLogan3D
Creates a new instance of SheppLogan3D
setDiagonals(double[][], double[])
- Static method in class STBB.
MAT
return a new matrix of m1 where the diagonal elements of m1 have been replaced by m2.
setValue(double[], double)
- Static method in class STBB.
MAT
set v[i] = v1 for all i.
setValue(double[][], double)
- Static method in class STBB.
MAT
set m[i][j] = v1 for all i,j.
sortColumns(double[][], int[])
- Static method in class STBB.
MAT
return a matrix where the columns of the matrix is sorted according to the index array.
sortRows(double[][], int[])
- Static method in class STBB.
MAT
sort rows
square(double[])
- Static method in class STBB.
MAT
square the components
standardDeviation(double[])
- Static method in class STBB.
MAT
sample standard deviation returns 0 if v.length==1.
subtract(double[], double)
- Static method in class STBB.
MAT
return m1 - m2
subtract(double[], double[])
- Static method in class STBB.
MAT
return m1 - m2
subtract(double[][], double)
- Static method in class STBB.
MAT
return m1 - m2
subtract(double[][], double[][])
- Static method in class STBB.
MAT
return m1 - m2
sum(double[])
- Static method in class STBB.
MAT
get the sum of all the elements of v using Kahan summation.
sumOfSquares(double[])
- Static method in class STBB.
MAT
return v[0]*v[0]+...+v[n-1][n-1] where n is the length of v
T
take(double[], int)
- Static method in class STBB.
MAT
Take the first
i
number of components
i
can be equal to the length of the vector.
toString(double[][])
- Static method in class STBB.
MAT
This method is for printing out elements of a on the screen.
toString(int[][])
- Static method in class STBB.
MAT
This method is for printing out elements of a on the screen.
toString(double[])
- Static method in class STBB.
MAT
This method is for printing out elements of a on the screen.
toString(int[])
- Static method in class STBB.
MAT
This method is for printing out elements of a on the screen.
trace(double[][])
- Static method in class STBB.
MAT
get the sum of the diagonal elements of m
transpose(double[][])
- Static method in class STBB.
MAT
matrix transposition
V
variance(double[])
- Static method in class STBB.
MAT
compute sample variance returns 0 if v.length==1.
Z
zeroes(int)
- Static method in class STBB.
MAT
get an array of zero's with length num
zeroes(int, int)
- Static method in class STBB.
MAT
get a matrix of zero's with dimensions ro x co
A
C
D
F
G
I
J
M
N
O
P
R
S
T
V
Z
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes