Skip to content

Run scripts from Console or MMAConsole app #51

@axkr

Description

@axkr

For example load a Symja package VectorAnalysis.m and run the DotProduct defined in the package:

org.matheclipse.core.eval.MMAConsole 

with arguments:

 -d matheclipse-core/src/test/resources/mma/VectorAnalysis.m -c DotProduct({a,b,c},{d,e,f})

Print this result to the terminal and exit the app:

a*d+b*e+c*f

For example load a MMA package VectorAnalysis.m and run the DotProduct defined in the package:

org.matheclipse.core.eval.MMAConsole 

with arguments:

 -d matheclipse-core/src/test/resources/mma/VectorAnalysis.m -c DotProduct[{a,b,c},{d,e,f}]

Print this result to the terminal and exit the app:

a*d+b*e+c*f

Program arguments are:

  -c or -code <command>                       run the command
  -d or -default <filename>                   use given textfile for an initial package script

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions