- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Hi,
Is it possible to have multiple y- functions as parameters:
df::spline<double, df::linear_spline::default_type> spl(q);
spl.set_partitions(partitions.data(), nx)
.set_coefficients(coeffs.data())
.set_function_values(functions.data());eg. can 'functions' be type std::vector<std::vector<double>> or in some other way to compute multiple y's
and if that is not possible how can these splines be computed in parallel?
thank you.
Enlace copiado
2 Respuestas
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Hi @kdev1 ,
Thank you for your question.
It's possible. There is the function named set_function_values. It accepts FpType* as input. Follow the documentation link for more information: https://www.intel.com/content/www/us/en/docs/onemkl/developer-reference-dpcpp/2025-2/splines.html .
Let us know if you have more questions
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
functions can be std::vector<double> with the size of (nx * ny).
A complete example of using multiple y-functions can be found as part of the oneMKL package.
Responder
Opciones de temas
- Suscribirse a un feed RSS
- Marcar tema como nuevo
- Marcar tema como leído
- Flotar este Tema para el usuario actual
- Favorito
- Suscribir
- Página de impresión sencilla