Comments (1)
Consider representing Bernstein functions as a vector space over a basis consisting of one to two parametric Bernstein functions. For example
setClass(
"VectorBernsteinFunction",
contains = "BernsteinFunction",
slots = c(
coefficients = "numeric",
basis = "list" ## list of basis Bernstein functions
)
setValidity(
"VectorBernsteinFunction",
function(object) {
if (!qtest(object@coefficients, "N+(0,)")) {
return(error_msg_domain("coefficients", "N+(0,)"))
}
if (!test_list(object@basis, types = "BasisBernsteinFunction", any.missing = FALSE, len = length(coefficients))) {
return(error_msg_domain("basis")
}
invisible(TRUE)
})
from rmo.
Related Issues (20)
- [REFACTOR] Parametrization of the exchangeable Markov model
- [REFACTOR] Remove `lambda` parameter from `PoissonBernsteinFunction`
- [FEATURE] Add composition scaling class for Bernstein Functions
- [FEATURE] Add S4 methods to create `intensities`, `ex_intensities` and `qmatrix`
- [FEATURE] Allow pass-through of `integrate` arguments
- [BUG] Wrong implementation of validity methods HOT 1
- [BUG] Methods that use stats::integrate should check whether integration was successful HOT 1
- [FEAT] Implement `show` for `BernsteinFunction`-classes
- [FEAT] Modified Arnold model for the exchangeable subclass
- [BUG] `uniform_int_distribution` does not implement the C++ standard
- [REFACTOR] Rename sampling routines and classes HOT 1
- [REFACTOR] Introduce high-level sampling methods and make specific methods internal HOT 1
- [FEAT] Implement a `mdcm_expt_distribution`
- [FEAT] Bernstein function should have properties for `calcIterativeDifference` calculation
- [FEAT] Implement binary operators for Bernstein function arithmetics
- [FEAT] Introduce `ConvexCombinationOfBernsteinFunctions` class
- [BUG] Numerical integration issues for extreme parameters HOT 1
- [REFACTOR] remove Bernstein function fuzzing from tests
- [BUG] continuous benchmarking feature has been retired
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rmo.