rearrange trig methods in floating point vertex interface
@@ -96,6 +96,46 @@ public interface FloatingPointTensorVertex<T extends Number, TENSOR extends Floa
return wrap(new ArcCosVertex<>(this));
}
+ @Override
+ default VERTEX sinh() {
+ return wrap(new SinhVertex<>(this));
+ }
+
+ @Override
+ default VERTEX cosh() {
+ return wrap(new CoshVertex<>(this));
+ }
+
+ @Override
+ default VERTEX tanh() {
+ return wrap(new TanhVertex<>(this));
+ }
+
+ @Override
+ default VERTEX asinh() {
+ return wrap(new ArcSinhVertex<>(this));
+ }
+
+ @Override
+ default VERTEX acosh() {
+ return wrap(new ArcCoshVertex<>(this));
+ }
+
+ @Override
+ default VERTEX atanh() {
+ return wrap(new ArcTanhVertex<>(this));
+ }
+
+ @Override
+ default VERTEX atan() {
+ return wrap(new ArcTanVertex<>(this));
+ }
+
+ @Override
+ default VERTEX atan2(VERTEX that) {
+ return wrap(new ArcTan2Vertex<>(this, that));
+ }
+
@Override
default VERTEX mean(int... overDimensions) {
return wrap(new MeanVertex<>(this, overDimensions));
@@ -231,46 +271,6 @@ public interface FloatingPointTensorVertex<T extends Number, TENSOR extends Floa
return wrap(new CholeskyInverseVertex<>(this));
}
- @Override
- default VERTEX sinh() {
- return wrap(new SinhVertex<>(this));
- }
-
- @Override
- default VERTEX cosh() {
- return wrap(new CoshVertex<>(this));
- }
-
- @Override
- default VERTEX tanh() {
- return wrap(new TanhVertex<>(this));
- }
-
- @Override
- default VERTEX asinh() {
- return wrap(new ArcSinhVertex<>(this));
- }
-
- @Override
- default VERTEX acosh() {
- return wrap(new ArcCoshVertex<>(this));
- }
-
- @Override
- default VERTEX atanh() {
- return wrap(new ArcTanhVertex<>(this));
- }
-
- @Override
- default VERTEX atan() {
- return wrap(new ArcTanVertex<>(this));
- }
-
- @Override
- default VERTEX atan2(VERTEX that) {
- return wrap(new ArcTan2Vertex<>(this, that));
- }
-
@Override
default VERTEX matrixInverse() {
return wrap(new MatrixInverseVertex<>(this));
