All Downloads are FREE. Search and download functionalities are using the official Maven repository.

EOorg.EOeolang.EOmath.EOangle Maven / Gradle / Ivy

There is a newer version: 0.5.0
Show newest version
/*
 * This file was auto-generated by eolang-maven-plugin
 * on 2022-07-15T10:40:21.2Z. Don't edit it,
 * your changes will be discarded on the next build.
 *
 * The EO sources were compiled to XMIR on
 * 2022-07-15T10:39:10.014947Z by the compiler v.0.24.0.
 */

package EOorg.EOeolang.EOmath;

import org.eolang.*;

//  
//   
//   
//    
//     
//     
//     
//     
//     
//     
//     
//   
//    
//     
//     
//     
//     
//     
//     
//     
//   
//    
//     
//     
//     
//     
//     
//     
//     
//   
//    
//     
//     
//     
//     
//     
//     
//     
//   
//    
//     
//     
//     
//     
//     
//     
//     
//   
//    
//     
//     
//     
//     
//     
//     
//     
//   
// 
@XmirObject(name = "angle", oname = "angle", source = "/home/r/repo/src/main/eo/org/eolang/math/angle.eo")
public final class EOangle extends PhDefault {
  public EOangle(final Phi sigma) {
    super(sigma);
    this.add("f", new AtFree(/* default */));
    this.add("φ", new AtOnce(new AtComposite(this, rho -> {
      Phi ret = new PhMethod(rho, "f");
        ret = new PhLocated(ret, 32, 2);
      return ret;
    })));
    this.add("sin", new AtOnce(new AtComposite(this, rho -> {
      Phi ret = new EOangle$EOsin(rho);
        ret = new PhLocated(ret, 34, 2);
      return ret;
    })));
    this.add("cos", new AtOnce(new AtComposite(this, rho -> {
      Phi ret = new EOangle$EOcos(rho);
        ret = new PhLocated(ret, 37, 2);
      return ret;
    })));
    this.add("tan", new AtOnce(new AtComposite(this, rho -> {
      Phi ret = new EOangle$EOtan(rho);
        ret = new PhLocated(ret, 40, 2);
      return ret;
    })));
    this.add("ctan", new AtOnce(new AtComposite(this, rho -> {
      Phi ret = new EOangle$EOctan(rho);
        ret = new PhLocated(ret, 50, 2);
      return ret;
    })));
    this.add("as-degrees", new AtOnce(new AtComposite(this, rho -> {
      Phi ret = new EOangle$EOas_degrees(rho);
        ret = new PhLocated(ret, 60, 2);
      return ret;
    })));
    this.add("as-radians", new AtOnce(new AtComposite(this, rho -> {
      Phi ret = new EOangle$EOas_radians(rho);
        ret = new PhLocated(ret, 66, 2);
      return ret;
    })));
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy