All Packages Class Hierarchy This Package Previous Next Index
Class rn.operator.MatrixVectorMul
java.lang.Object
|
+----rn.operator.MatrixVectorMul
- public class MatrixVectorMul
- extends Object
- implements hasAdjoint, hasHessian
-
adj
- Pointer to the (relative) adjoint of this operator:
this.isFwd == true ---> adj.isFwd == false
this.isFwd == false ---> adj.isFwd == true
-
hess
-
-
input
- domain of the forward operator (and range of the adjoint)
-
isFwd
- true/false as the operator is the forward/adjoint
-
output
- range of the forward operator (and domain of the forward)
-
MatrixVectorMul(int, int)
- should possibly private
-
MatrixVectorMul(Matrix)
-
-
MatrixVectorMul(MatrixVectorMul)
- copy constructor (deep copy for coeficients; shallow copy for spaces)
-
MatrixVectorMul(RnSpc)
-
-
MatrixVectorMul(RnSpc, RnSpc)
-
-
addImage(Vector, Vector)
-
-
adjoint()
-
-
copy()
-
-
createAdjoint()
-
-
createHessian()
-
-
equals(MatrixVectorMul)
-
-
getDerivativeAt(Vector)
-
-
getDomain()
-
-
getGradientAt(Vector)
-
-
getHessianAt(Vector)
-
-
getRange()
-
-
image(Vector)
-
-
image(Vector, Vector)
-
-
residual(Vector, Vector, Vector)
-
-
setAdjoint(hasAdjoint)
-
-
setForward(boolean)
-
-
setInput(Space)
- Apply the operator:
Depending on if the operator is the forward or adjoint:
forward: out = A(in)
adjoint: in = A(out)
-
setOutput(Space)
-
input
protected Space input
- domain of the forward operator (and range of the adjoint)
output
protected Space output
- range of the forward operator (and domain of the forward)
isFwd
protected boolean isFwd
- true/false as the operator is the forward/adjoint
adj
protected hasAdjoint adj
- Pointer to the (relative) adjoint of this operator:
this.isFwd == true ---> adj.isFwd == false
this.isFwd == false ---> adj.isFwd == true
hess
protected BiLinearOperatorAdjoint hess
MatrixVectorMul
public MatrixVectorMul(int row,
int col)
- should possibly private
MatrixVectorMul
public MatrixVectorMul(RnSpc fwdDomain,
RnSpc fwdRange)
MatrixVectorMul
public MatrixVectorMul(RnSpc domainAndRange)
MatrixVectorMul
public MatrixVectorMul(Matrix mat)
MatrixVectorMul
public MatrixVectorMul(MatrixVectorMul src)
- copy constructor (deep copy for coeficients; shallow copy for spaces)
copy
public JamObject copy()
setInput
protected void setInput(Space input)
- Apply the operator:
Depending on if the operator is the forward or adjoint:
forward: out = A(in)
adjoint: in = A(out)
- Parameters:
- add - Performs y += Ax instead of y = Ax if true (where {x,y} = {in,out} -- respectively if and only if isFwd == true)
- in - Vector in the domain of the forward (altered if isFwd == false)
- out - Vector in the range of the forward (altered if isFwd == true)
setOutput
protected void setOutput(Space output)
setForward
protected void setForward(boolean isFwd)
setAdjoint
protected void setAdjoint(hasAdjoint adj)
createAdjoint
protected void createAdjoint()
equals
public boolean equals(MatrixVectorMul slo2)
getDomain
public Space getDomain()
getRange
public Space getRange()
image
public Vector image(Vector d)
image
public void image(Vector d,
Vector r)
addImage
public void addImage(Vector d,
Vector r)
residual
public void residual(Vector d,
Vector b,
Vector r)
adjoint
public hasAdjoint adjoint()
getGradientAt
public LinearOperator getGradientAt(Vector x)
getDerivativeAt
public hasAdjoint getDerivativeAt(Vector x)
getHessianAt
public BiLinearOperatorAdjoint getHessianAt(Vector x)
createHessian
protected void createHessian()
All Packages Class Hierarchy This Package Previous Next Index