Package gaia.cu1.tools.numeric.algebra

Examples of gaia.cu1.tools.numeric.algebra.GVector3d.scale()


    GVector2d lpcRad = GVector2d.scale(GaiaParam.Nature.MILLIARCSECOND_RADIAN, lpc);
   
    GVector3d pos = new GVector3d(triad[2]);
    pos.add(GVector3d.scale(lpcRad.getX(), triad[0]));
    pos.add(GVector3d.scale(lpcRad.getY(), triad[1]));
    pos.scale(1/Math.sqrt(1+lpcRad.normSquared()));
   
    return pos;
   
  }
 
View Full Code Here


      System.err.println("Source not generated!");
   
    // Create position vector
   
    GVector3d vICRS = new GVector3d(Math.toRadians(ra), Math.toRadians(dec));
    vICRS.scale(distance*GaiaParam.Nature.PARSEC_METER);
   
    // Compute the list of all the transits of Sirius in the FOV1
    // For the inverse scanning law, we need to give the half aperture of the field
   
    double halfAperture = GaiaParam.Satellite.FOV_AC*GaiaParam.Nature.DEGREE_RADIAN/2;
 
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.