Class RealMatrixConverter

java.lang.Object
uk.ac.gda.client.properties.RealMatrixConverter
All Implemented Interfaces:
org.springframework.core.convert.converter.Converter<String,org.apache.commons.math3.linear.RealMatrix>

@Component public class RealMatrixConverter extends Object implements org.springframework.core.convert.converter.Converter<String,org.apache.commons.math3.linear.RealMatrix>
Converts an JSON 2D array of doubles to RealMatrix
See Also:
  • Constructor Details

    • RealMatrixConverter

      public RealMatrixConverter()
  • Method Details

    • convert

      public org.apache.commons.math3.linear.RealMatrix convert(String source)
      Specified by:
      convert in interface org.springframework.core.convert.converter.Converter<String,org.apache.commons.math3.linear.RealMatrix>