Documentation of 'cc.redberry.core.context.OutputFormat' Java class
OutputFormat
cc.redberry.core.context

Class OutputFormat

    • Field Detail

      • LaTeX

        public static final OutputFormat LaTeX
        This format specifies expressions to be outputted in the LaTeX notation. The produces strings can be simply putted in some LaTeX math environments and compiled via LaTeX compiler.
      • UTF8

        public static final OutputFormat UTF8
        This format specifies expressions to be outputted in the LaTeX notation. The produces strings can be simply putted in some LaTeX math environments and compiled via LaTeX compiler.
      • Redberry

        public static final OutputFormat Redberry
        This format specifies expressions to be outputted in the LaTeX notation. The produces strings can be simply putted in some LaTeX math environments and compiled via LaTeX compiler.
      • Cadabra

        public static final OutputFormat Cadabra
        This format specifies expressions to be outputted in the LaTeX notation. The produces strings can be simply putted in some LaTeX math environments and compiled via LaTeX compiler.
      • WolframMathematica

        public static final OutputFormat WolframMathematica
        This format specifies expressions to be outputted in the LaTeX notation. The produces strings can be simply putted in some LaTeX math environments and compiled via LaTeX compiler.
      • Maple

        public static final OutputFormat Maple
        This format specifies expressions to be outputted in the LaTeX notation. The produces strings can be simply putted in some LaTeX math environments and compiled via LaTeX compiler.
      • SimpleRedberry

        public static final OutputFormat SimpleRedberry
        This format specifies expressions to be outputted in the LaTeX notation. The produces strings can be simply putted in some LaTeX math environments and compiled via LaTeX compiler.
      • id

        public final int id
        Unique identifier.
      • upperIndexPrefix

        public final java.lang.String upperIndexPrefix
        Prefix, which specifies upper index (e.g. '^' in LaTeX)
      • lowerIndexPrefix

        public final java.lang.String lowerIndexPrefix
        Prefix, which specifies lower index (e.g. '_' in LaTeX)
      • printMatrixIndices

        public final boolean printMatrixIndices
        Specifies whether print matrix indices or not.
    • Method Detail

      • doNotPrintMatrixIndices

        public OutputFormat doNotPrintMatrixIndices()
        Returns output format that will not print matrix indices.
        Returns:
        output format that will not print matrix indices
      • printMatrixIndices

        public OutputFormat printMatrixIndices()
        Returns output format that will always print matrix indices.
        Returns:
        output format that will always print matrix indices
      • is

        public boolean is(OutputFormat oth)
        Returns whether this and oth defines same format.
        Parameters:
        oth - other format
        Returns:
        whether this and oth defines same format
      • getPrefixFromIntState

        public java.lang.String getPrefixFromIntState(int intState)
        Returns lowerIndexPrefix if intState == 0 and upperIndexPrefix if intState == 1
        Parameters:
        intState - int state (0 - lower, 1 - upper)
        Returns:
        prefix
      • getPrefixFromRawIntState

        public java.lang.String getPrefixFromRawIntState(int rawIntState)
        Returns lowerIndexPrefix if intState == 0 and upperIndexPrefix if intState == 0x80000000
        Parameters:
        rawIntState - int state (0 - lower, 0x80000000 - upper)
        Returns:
        prefix

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.