Package ca.eandb.jmist.math

Examples of ca.eandb.jmist.math.LinearMatrix3.times()


    LinearMatrix3 band2xyz = new LinearMatrix3(
        a[0][0], a[0][1], a[0][2],
        a[1][0], a[1][1], a[1][2],
        a[2][0], a[2][1], a[2][2]);

    double factor = 1.0 / band2xyz.times(new Vector3(1, 1, 1)).y();

    return band2xyz.times(LinearMatrix3.scaleMatrix(factor)).inverse();
  }

  /* (non-Javadoc)
 
View Full Code Here


        a[1][0], a[1][1], a[1][2],
        a[2][0], a[2][1], a[2][2]);

    double factor = 1.0 / band2xyz.times(new Vector3(1, 1, 1)).y();

    return band2xyz.times(LinearMatrix3.scaleMatrix(factor)).inverse();
  }

  /* (non-Javadoc)
   * @see ca.eandb.jmist.framework.color.Spectrum#sample(ca.eandb.jmist.framework.color.WavelengthPacket)
   */
 
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.