LightJason - AgentSpeak(L++)
org.lightjason.agentspeak.action.builtin.TestCActionMathBlasMatrix Class Reference

test math blas matrix functions More...

+ Inheritance diagram for org.lightjason.agentspeak.action.builtin.TestCActionMathBlasMatrix:
+ Collaboration diagram for org.lightjason.agentspeak.action.builtin.TestCActionMathBlasMatrix:

Public Member Functions

final void action (final Triple< List< ITerm >, Class<? extends IAction >, Stream< Object >> p_input) throws IllegalAccessException, InstantiationException, NoSuchMethodException, InvocationTargetException
 test all input actions More...
 
final void assignmatrix ()
 test assign matrix More...
 
final void assignscalar ()
 test assign scalar More...
 
final void column ()
 test column More...
 
final void columsum ()
 test column sum More...
 
final void copy ()
 test copy More...
 
final void create ()
 test create More...
 
final void diagonal ()
 test diagonal More...
 
final void eigen ()
 test eigen More...
 
final void get ()
 test get More...
 
final void graphlaplacian ()
 test graph-laplacian More...
 
final void identity ()
 test identity More...
 
final void invert ()
 test invert More...
 
final void normalizedgraphlaplacian ()
 test normalized graph-laplacian More...
 
final void parse ()
 test parse More...
 
final void power ()
 test power More...
 
final void row ()
 test row More...
 
final void rowsum ()
 test row sum More...
 
final void set ()
 test set More...
 
final void singularvalue ()
 test singularvalue More...
 
final void solve ()
 test solve More...
 
final void submatrix ()
 test submatrix More...
 
final void tolist ()
 test toList More...
 
final void transpose ()
 test transpose More...
 

Static Public Member Functions

static Object [] generator ()
 data provider generator More...
 

Static Private Member Functions

static Stream< Object > testcase (final Stream< Object > p_input, final Stream< Class<?>> p_classes, final Stream< Object >... p_classresult)
 method to generate test-cases More...
 

Static Private Attributes

static final DoubleMatrix2D MATRIX1 = new DenseDoubleMatrix2D( new double[][]{{2, 6}, {3, 8}} )
 testing matrix More...
 
static final DoubleMatrix2D MATRIX2 = new DenseDoubleMatrix2D( new double[][]{{2, 2}, {3, 1}} )
 testing matrix More...
 

Additional Inherited Members

- Static Protected Attributes inherited from org.lightjason.agentspeak.IBaseTest
static final boolean PRINTENABLE = Files.exists( Paths.get( "agentprinting.conf" ) )
 enable printing of test-data More...
 

Detailed Description

Definition at line 97 of file TestCActionMathBlasMatrix.java.

Member Function Documentation

◆ action()

final void org.lightjason.agentspeak.action.builtin.TestCActionMathBlasMatrix.action ( final Triple< List< ITerm >, Class<? extends IAction >, Stream< Object >>  p_input) throws IllegalAccessException, InstantiationException, NoSuchMethodException, InvocationTargetException
Parameters
p_inputtripel of input data, actions and results
Exceptions
IllegalAccessExceptionis thrwon on instantiation error
InstantiationExceptionis thrwon on instantiation error
NoSuchMethodExceptionis thrwon on instantiation error
InvocationTargetExceptionis thrwon on instantiation error

Definition at line 189 of file TestCActionMathBlasMatrix.java.

References org.lightjason.agentspeak.language.execution.IContext.EMPTYPLAN, and org.lightjason.agentspeak.language.ITerm.raw().

+ Here is the call graph for this function:

◆ assignmatrix()

final void org.lightjason.agentspeak.action.builtin.TestCActionMathBlasMatrix.assignmatrix ( )

Definition at line 426 of file TestCActionMathBlasMatrix.java.

References org.lightjason.agentspeak.language.execution.IContext.EMPTYPLAN, org.lightjason.agentspeak.action.builtin.math.blas.matrix.CAssign.execute(), and org.lightjason.agentspeak.language.CRawTerm< T >.from().

+ Here is the call graph for this function:

◆ assignscalar()

final void org.lightjason.agentspeak.action.builtin.TestCActionMathBlasMatrix.assignscalar ( )

Definition at line 409 of file TestCActionMathBlasMatrix.java.

References org.lightjason.agentspeak.language.execution.IContext.EMPTYPLAN, org.lightjason.agentspeak.action.builtin.math.blas.matrix.CAssign.execute(), and org.lightjason.agentspeak.language.CRawTerm< T >.from().

+ Here is the call graph for this function:

◆ column()

final void org.lightjason.agentspeak.action.builtin.TestCActionMathBlasMatrix.column ( )

Definition at line 233 of file TestCActionMathBlasMatrix.java.

References org.lightjason.agentspeak.language.execution.IContext.EMPTYPLAN, org.lightjason.agentspeak.action.builtin.math.bit.matrix.IRowColumn.execute(), and org.lightjason.agentspeak.language.CRawTerm< T >.from().

+ Here is the call graph for this function:

◆ columsum()

final void org.lightjason.agentspeak.action.builtin.TestCActionMathBlasMatrix.columsum ( )

Definition at line 687 of file TestCActionMathBlasMatrix.java.

References org.lightjason.agentspeak.language.execution.IContext.EMPTYPLAN, org.lightjason.agentspeak.action.builtin.math.blas.matrix.CColumnSum.execute(), and org.lightjason.agentspeak.language.CRawTerm< T >.from().

+ Here is the call graph for this function:

◆ copy()

final void org.lightjason.agentspeak.action.builtin.TestCActionMathBlasMatrix.copy ( )

Definition at line 563 of file TestCActionMathBlasMatrix.java.

References org.lightjason.agentspeak.language.execution.IContext.EMPTYPLAN, org.lightjason.agentspeak.action.builtin.math.bit.matrix.CCopy.execute(), org.lightjason.agentspeak.language.CRawTerm< T >.from(), and org.lightjason.agentspeak.language.ITerm.raw().

+ Here is the call graph for this function:

◆ create()

final void org.lightjason.agentspeak.action.builtin.TestCActionMathBlasMatrix.create ( )

Definition at line 211 of file TestCActionMathBlasMatrix.java.

References org.lightjason.agentspeak.language.execution.IContext.EMPTYPLAN, org.lightjason.agentspeak.action.builtin.collection.list.CCreate.execute(), and org.lightjason.agentspeak.language.CRawTerm< T >.from().

+ Here is the call graph for this function:

◆ diagonal()

final void org.lightjason.agentspeak.action.builtin.TestCActionMathBlasMatrix.diagonal ( )

Definition at line 748 of file TestCActionMathBlasMatrix.java.

References org.lightjason.agentspeak.language.execution.IContext.EMPTYPLAN, org.lightjason.agentspeak.action.builtin.math.blas.matrix.CDiagonal.execute(), and org.lightjason.agentspeak.language.CRawTerm< T >.from().

+ Here is the call graph for this function:

◆ eigen()

final void org.lightjason.agentspeak.action.builtin.TestCActionMathBlasMatrix.eigen ( )

Definition at line 506 of file TestCActionMathBlasMatrix.java.

References org.lightjason.agentspeak.language.execution.IContext.EMPTYPLAN, org.lightjason.agentspeak.action.builtin.math.blas.matrix.CEigen.execute(), and org.lightjason.agentspeak.language.CRawTerm< T >.from().

+ Here is the call graph for this function:

◆ generator()

static Object [] org.lightjason.agentspeak.action.builtin.TestCActionMathBlasMatrix.generator ( )
static
Returns
data

Definition at line 117 of file TestCActionMathBlasMatrix.java.

◆ get()

final void org.lightjason.agentspeak.action.builtin.TestCActionMathBlasMatrix.get ( )

Definition at line 443 of file TestCActionMathBlasMatrix.java.

References org.lightjason.agentspeak.language.execution.IContext.EMPTYPLAN, org.lightjason.agentspeak.action.builtin.collection.list.CGet.execute(), and org.lightjason.agentspeak.language.CRawTerm< T >.from().

+ Here is the call graph for this function:

◆ graphlaplacian()

final void org.lightjason.agentspeak.action.builtin.TestCActionMathBlasMatrix.graphlaplacian ( )

Definition at line 582 of file TestCActionMathBlasMatrix.java.

References org.lightjason.agentspeak.language.execution.IContext.EMPTYPLAN, org.lightjason.agentspeak.action.builtin.math.blas.matrix.CGraphLaplacian.execute(), and org.lightjason.agentspeak.language.CRawTerm< T >.from().

+ Here is the call graph for this function:

◆ identity()

final void org.lightjason.agentspeak.action.builtin.TestCActionMathBlasMatrix.identity ( )

Definition at line 718 of file TestCActionMathBlasMatrix.java.

References org.lightjason.agentspeak.language.execution.IContext.EMPTYPLAN, org.lightjason.agentspeak.action.builtin.math.blas.matrix.CIdentity.execute(), and org.lightjason.agentspeak.language.CRawTerm< T >.from().

+ Here is the call graph for this function:

◆ invert()

final void org.lightjason.agentspeak.action.builtin.TestCActionMathBlasMatrix.invert ( )

Definition at line 484 of file TestCActionMathBlasMatrix.java.

References org.lightjason.agentspeak.language.execution.IContext.EMPTYPLAN, org.lightjason.agentspeak.action.builtin.math.blas.matrix.CInvert.execute(), and org.lightjason.agentspeak.language.CRawTerm< T >.from().

+ Here is the call graph for this function:

◆ normalizedgraphlaplacian()

final void org.lightjason.agentspeak.action.builtin.TestCActionMathBlasMatrix.normalizedgraphlaplacian ( )

Definition at line 622 of file TestCActionMathBlasMatrix.java.

References org.lightjason.agentspeak.language.execution.IContext.EMPTYPLAN, org.lightjason.agentspeak.action.builtin.math.blas.matrix.CNormalizedGraphLaplacian.execute(), and org.lightjason.agentspeak.language.CRawTerm< T >.from().

+ Here is the call graph for this function:

◆ parse()

final void org.lightjason.agentspeak.action.builtin.TestCActionMathBlasMatrix.parse ( )

Definition at line 462 of file TestCActionMathBlasMatrix.java.

References org.lightjason.agentspeak.language.execution.IContext.EMPTYPLAN, org.lightjason.agentspeak.action.builtin.math.blas.matrix.CParse.execute(), and org.lightjason.agentspeak.language.CRawTerm< T >.from().

+ Here is the call graph for this function:

◆ power()

final void org.lightjason.agentspeak.action.builtin.TestCActionMathBlasMatrix.power ( )

Definition at line 277 of file TestCActionMathBlasMatrix.java.

References org.lightjason.agentspeak.language.execution.IContext.EMPTYPLAN, org.lightjason.agentspeak.action.builtin.math.blas.matrix.CPower.execute(), and org.lightjason.agentspeak.language.CRawTerm< T >.from().

+ Here is the call graph for this function:

◆ row()

final void org.lightjason.agentspeak.action.builtin.TestCActionMathBlasMatrix.row ( )

Definition at line 255 of file TestCActionMathBlasMatrix.java.

References org.lightjason.agentspeak.language.execution.IContext.EMPTYPLAN, org.lightjason.agentspeak.action.builtin.math.bit.matrix.IRowColumn.execute(), and org.lightjason.agentspeak.language.CRawTerm< T >.from().

+ Here is the call graph for this function:

◆ rowsum()

final void org.lightjason.agentspeak.action.builtin.TestCActionMathBlasMatrix.rowsum ( )

Definition at line 656 of file TestCActionMathBlasMatrix.java.

References org.lightjason.agentspeak.language.execution.IContext.EMPTYPLAN, org.lightjason.agentspeak.action.builtin.math.blas.matrix.CRowSum.execute(), and org.lightjason.agentspeak.language.CRawTerm< T >.from().

+ Here is the call graph for this function:

◆ set()

final void org.lightjason.agentspeak.action.builtin.TestCActionMathBlasMatrix.set ( )

Definition at line 302 of file TestCActionMathBlasMatrix.java.

References org.lightjason.agentspeak.language.execution.IContext.EMPTYPLAN, org.lightjason.agentspeak.action.builtin.collection.list.CSet.execute(), and org.lightjason.agentspeak.language.CRawTerm< T >.from().

+ Here is the call graph for this function:

◆ singularvalue()

final void org.lightjason.agentspeak.action.builtin.TestCActionMathBlasMatrix.singularvalue ( )

Definition at line 531 of file TestCActionMathBlasMatrix.java.

References org.lightjason.agentspeak.language.execution.IContext.EMPTYPLAN, org.lightjason.agentspeak.action.builtin.math.blas.matrix.CSingularValue.execute(), and org.lightjason.agentspeak.language.CRawTerm< T >.from().

+ Here is the call graph for this function:

◆ solve()

final void org.lightjason.agentspeak.action.builtin.TestCActionMathBlasMatrix.solve ( )

Definition at line 386 of file TestCActionMathBlasMatrix.java.

References org.lightjason.agentspeak.language.execution.IContext.EMPTYPLAN, org.lightjason.agentspeak.action.builtin.math.blas.matrix.CSolve.execute(), and org.lightjason.agentspeak.language.CRawTerm< T >.from().

+ Here is the call graph for this function:

◆ submatrix()

final void org.lightjason.agentspeak.action.builtin.TestCActionMathBlasMatrix.submatrix ( )

Definition at line 363 of file TestCActionMathBlasMatrix.java.

References org.lightjason.agentspeak.language.execution.IContext.EMPTYPLAN, org.lightjason.agentspeak.action.builtin.math.blas.matrix.CSubMatrix.execute(), and org.lightjason.agentspeak.language.CRawTerm< T >.from().

+ Here is the call graph for this function:

◆ testcase()

static Stream<Object> org.lightjason.agentspeak.action.builtin.TestCActionMathBlasMatrix.testcase ( final Stream< Object >  p_input,
final Stream< Class<?>>  p_classes,
final Stream< Object >...  p_classresult 
)
staticprivate
Parameters
p_inputinput data
p_classesmatching test-classes / test-cases
p_classresultresult for each class
Returns
test-object

Definition at line 166 of file TestCActionMathBlasMatrix.java.

References org.lightjason.agentspeak.language.CRawTerm< T >.from().

+ Here is the call graph for this function:

◆ tolist()

final void org.lightjason.agentspeak.action.builtin.TestCActionMathBlasMatrix.tolist ( )

Definition at line 317 of file TestCActionMathBlasMatrix.java.

References org.lightjason.agentspeak.language.execution.IContext.EMPTYPLAN, org.lightjason.agentspeak.action.builtin.collection.set.CToList.execute(), and org.lightjason.agentspeak.language.CRawTerm< T >.from().

+ Here is the call graph for this function:

◆ transpose()

final void org.lightjason.agentspeak.action.builtin.TestCActionMathBlasMatrix.transpose ( )

Definition at line 340 of file TestCActionMathBlasMatrix.java.

References org.lightjason.agentspeak.language.execution.IContext.EMPTYPLAN, org.lightjason.agentspeak.action.builtin.math.blas.matrix.CTranspose.execute(), and org.lightjason.agentspeak.language.CRawTerm< T >.from().

+ Here is the call graph for this function:

Member Data Documentation

◆ MATRIX1

final DoubleMatrix2D org.lightjason.agentspeak.action.builtin.TestCActionMathBlasMatrix.MATRIX1 = new DenseDoubleMatrix2D( new double[][]{{2, 6}, {3, 8}} )
staticprivate
Note
static because of usage in data-provider

Definition at line 104 of file TestCActionMathBlasMatrix.java.

◆ MATRIX2

final DoubleMatrix2D org.lightjason.agentspeak.action.builtin.TestCActionMathBlasMatrix.MATRIX2 = new DenseDoubleMatrix2D( new double[][]{{2, 2}, {3, 1}} )
staticprivate
Note
static because of usage in data-provider

Definition at line 110 of file TestCActionMathBlasMatrix.java.