Example #1
0
		double lengthSec() const noexcept
		{
			return static_cast<double>(size()) / m_samplingRate;
		}
Example #2
0
		size_t lengthSample() const noexcept
		{
			return size();
		}
Example #3
0
		size_t samples() const noexcept
		{
			return size();
		}
Example #4
0
		[[nodiscard]] size_t lengthSample() const noexcept
		{
			return size();
		}
Example #5
0
		[[nodiscard]] size_t samples() const noexcept
		{
			return size();
		}
Example #6
0
 /**
  * This constructor is called from vex::mpi::multivector::operator()
  * and should not be used by hand. Copies reference to device vector.
  */
 vector(MPI_Comm comm, base_type &v)
     : mpi(comm), l_size(v.size()), local_data(&v)
 {
     static_assert(!own, "Wrong constructor for owning vector");
 }