- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for acosh (0.14 sec)
-
src/math/acosh.go
// Method : // Based on // acosh(x) = log [ x + sqrt(x*x-1) ] // we have // acosh(x) := log(x)+ln2, if x is large; else // acosh(x) := log(2x-1/(sqrt(x*x-1)+x)) if x>2; else // acosh(x) := log1p(t+sqrt(2.0*t+t*t)); where t=x-1. // // Special cases: // acosh(x) is NaN with signal if x<1. // acosh(NaN) is NaN without signal. // // Acosh returns the inverse hyperbolic cosine of x. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 1.7K bytes - Viewed (0) -
tensorflow/cc/gradients/math_grad_test.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Aug 25 18:20:20 UTC 2023 - 36K bytes - Viewed (0) -
src/math/example_test.go
// license that can be found in the LICENSE file. package math_test import ( "fmt" "math" ) func ExampleAcos() { fmt.Printf("%.2f", math.Acos(1)) // Output: 0.00 } func ExampleAcosh() { fmt.Printf("%.2f", math.Acosh(1)) // Output: 0.00 } func ExampleAsin() { fmt.Printf("%.2f", math.Asin(0)) // Output: 0.00 } func ExampleAsinh() { fmt.Printf("%.2f", math.Asinh(0))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 07 18:09:53 UTC 2021 - 3.7K bytes - Viewed (0) -
src/math/all_test.go
a := 1 + Abs(vf[i]) if f := Acosh(a); !veryclose(acosh[i], f) { t.Errorf("Acosh(%g) = %g, want %g", a, f, acosh[i]) } } for i := 0; i < len(vfacoshSC); i++ { if f := Acosh(vfacoshSC[i]); !alike(acoshSC[i], f) { t.Errorf("Acosh(%g) = %g, want %g", vfacoshSC[i], f, acoshSC[i]) } } } func TestAsin(t *testing.T) { for i := 0; i < len(vf); i++ { a := vf[i] / 10
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jul 07 17:39:26 UTC 2023 - 86.8K bytes - Viewed (0) -
tensorflow/cc/gradients/math_grad.cc
std::vector<Output>* grad_outputs) { // y = acosh(x) // dy/dx = 1 / sinh(y) auto dydx = Reciprocal(scope, Sinh(scope, op.output(0))); // grad(x) = grad(y) * conj(dy/dx) grad_outputs->push_back( Mul(scope, grad_inputs[0], ConjugateHelper(scope, dydx))); return scope.status(); } REGISTER_GRADIENT_OP("Acosh", AcoshGrad); Status AtanhGrad(const Scope& scope, const Operation& op,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Aug 25 18:20:20 UTC 2023 - 50.7K bytes - Viewed (0) -
tensorflow/compiler/jit/mark_for_compilation_pass.cc
new absl::flat_hash_map<string, std::vector<string>>{ // Unary {"PW", {"ComplexAbs", "Angle", "Conj", "Abs", "Acos", "Acosh", "Asin", "Atan", "Atanh", "Ceil", "Cos", "Cosh", "Sin", "Exp", "Expm1", "Floor", "IsFinite", "IsInf", "IsNan", "Inv", "Reciprocal", "Log", "Log1p", "Invert", "LogicalNot", "Ndtri", "Neg", "Rint", "Round",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 21 12:19:41 UTC 2024 - 85.3K bytes - Viewed (0) -
src/math/cmplx/sin.go
} // Complex hyperbolic cosine // // DESCRIPTION: // // ccosh(z) = cosh x cos y + i sinh x sin y . // // ACCURACY: // // Relative error: // arithmetic domain # trials peak rms // IEEE -10,+10 30000 2.9e-16 8.1e-17 // Cosh returns the hyperbolic cosine of x. func Cosh(x complex128) complex128 { switch re, im := real(x), imag(x); {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 18 17:59:44 UTC 2022 - 4.8K bytes - Viewed (0) -
src/math/sinh.go
} if sign { temp = -temp } return temp } // Cosh returns the hyperbolic cosine of x. // // Special cases are: // // Cosh(±0) = 1 // Cosh(±Inf) = +Inf // Cosh(NaN) = NaN func Cosh(x float64) float64 { if haveArchCosh { return archCosh(x) } return cosh(x) } func cosh(x float64) float64 { x = Abs(x) if x > 21 { return Exp(x) * 0.5 } ex := Exp(x)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 1.7K bytes - Viewed (0) -
src/math/asin.go
temp = satan(x / temp) } if sign { temp = -temp } return temp } // Acos returns the arccosine, in radians, of x. // // Special case is: // // Acos(x) = NaN if x < -1 or x > 1 func Acos(x float64) float64 { if haveArchAcos { return archAcos(x) } return acos(x) } func acos(x float64) float64 { return Pi/2 - Asin(x)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 1.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 23 14:40:35 UTC 2023 - 236.4K bytes - Viewed (0)