using System;
using NumSharp.Backends;
namespace NumSharp
{
public static partial class np
{
///
/// Trigonometric sine, element-wise.
///
/// Angle, in radians (2 \pi rad equals 360 degrees).
/// The dtype the returned ndarray should be of, only non integer values are supported.
/// The sine of each element of x. This is a scalar if x is a scalar.
/// https://docs.scipy.org/doc/numpy/reference/generated/numpy.sin.html
public static NDArray sin(in NDArray x, NPTypeCode? outType = null)
=> x.TensorEngine.Sin(x, outType);
///
/// Trigonometric sine, element-wise.
///
/// Angle, in radians (2 \pi rad equals 360 degrees).
/// The dtype the returned ndarray should be of, only non integer values are supported.
/// The sine of each element of x. This is a scalar if x is a scalar.
/// https://docs.scipy.org/doc/numpy/reference/generated/numpy.sin.html
public static NDArray sin(in NDArray x, Type outType)
=> x.TensorEngine.Sin(x, outType);
///
/// Hyperbolic sine, element-wise.
/// Equivalent to 1/2 * (np.exp(x) - np.exp(-x)) or -1j * np.sin(1j*x).
///
/// Input array.
/// The dtype the returned ndarray should be of, only non integer values are supported.
/// The sine of each element of x. This is a scalar if x is a scalar.
/// https://docs.scipy.org/doc/numpy/reference/generated/numpy.sinh.html
public static NDArray sinh(in NDArray x, NPTypeCode? outType = null)
=> x.TensorEngine.Sinh(x, outType);
///
/// Hyperbolic sine, element-wise.
/// Equivalent to 1/2 * (np.exp(x) - np.exp(-x)) or -1j * np.sin(1j*x).
///
/// Input array.
/// The dtype the returned ndarray should be of, only non integer values are supported.
/// The sine of each element of x. This is a scalar if x is a scalar.
/// https://docs.scipy.org/doc/numpy/reference/generated/numpy.sinh.html
public static NDArray sinh(in NDArray x, Type outType)
=> x.TensorEngine.Sinh(x, outType);
}
}