design pattern
- The Inversion of Control Pattern
- Inversion of Control: Overview with Examples
- The Visitor Pattern Explained
- Implement Observer Pattern in .NET (3 Techniques)
- Cholesky decomposition
- To Solve a Cubic Equation
- Cubic Equation
- Quartic Equation
- Quadratic equation
- Quintic function
An understanding of "The Inversion of Control" Pattern
This article discusses the basic concepts of IoC, how to achieve it, and Dependency Injections.
In my last job interview I got a (rather vague) question about traversing a tree and operating on the tree nodes. I think I’ve a lot of experience in programming but I couldn’t figure out the answer on my own. The answer the guy wanted to hear was: visitor pattern.
Multiple techniques of implementing The Observer Pattern in .NET
The Cholesky decomposition is an approach to solve a matrix equation where the main matrix A is of a special type. It must be symmetrical to the main diagonal, element a11 must be positive and the other elements in the main diagonal must be bigger than or at least as big as the square of the other elements in the same row. Mathematically it is said the matrix must be positive definite and Hermitian. But does anybody understand this? :-)
Gerolamo Cardano published a method to solve a cubic equation in 1545. There is a description of this method on Wikipedia. But it is not too detailed and on the German Wikipedia. In fact, the last part is missing and without this part, one cannot implement it into an algorithm. So I thought I could
Solution for ax^3 + bx^2 + cx + d = 0 Method by Gerolamo Cardano (1501-1576) in his treatise Ars Magna.
Paper: A Note on the Solution of Quartic Equations By Herbert E. Salzer Quartic Equations Am. Math Society Proceedings, 1959. Modified here for support all cases.
In algebra, a quadratic equation (from Latin quadratus 'square') is any equation that can be rearranged in standard form as[1]
In algebra, a quintic function is a function of the form
No comments:
Post a Comment