Before starting on subtyping in Generics, let’s first understand what is covariance.See – What is covariance, contravariance and invariance? In Java, as in other object-oriented typed lang… more →
Java Jazzlewrote 1 month ago: Problem 59-A Two random losses and are jointly modeled by the following density function: Suppose th … more →
wrote 2 months ago: I have found that in order to understand covariance and contravariance a few examples with Java arra … more →
wrote 2 months ago: Problem 32A Suppose that and are two random losses with the following joint density function: Calcul … more →
wrote 2 months ago: Problem 31A A traveler is at the airport of City A and wants to reach his home in City B. He plans t … more →
wrote 4 months ago: This blog post first appeared, as written by me, on The Copernican science blog on December 30, 2012 … more →
wrote 5 months ago: PCA on my whiteboard Nothing more to say about Principal Component Analysis, I tried to summarize in … more →
wrote 9 months ago: Covariance matrices are a way of describing the relation between a collection of variables. A single … more →
wrote 11 months ago: r = Cov(x,y) / Sx * Sy Sx = squared deviations of (xi – xbar) Sy = squared deviations of (yi-y … more →
wrote 11 months ago: For some reason, three different completely unrelated projects have led me to some interesting ideas … more →
wrote 1 year ago: If we have an array of a particular base type, assignment compatibility allows us to assign any sub … more →
wrote 1 year ago: Array covariance allows T[] to be assigned to U[], if T can be assigned to U. // Assignment compatib … more →
wrote 1 year ago: Array covariance in C# allows you to assign an array of instances of a derived class to a variable w … more →
wrote 1 year ago: In programming languages, the idea of covariance has to do with whether the ordering of a set of ele … more →
wrote 1 year ago: In C#, you can always implicitly convert an instance of a more derived type to an instance of a bas … more →
wrote 1 year ago: This is the question I posted this morning on StackOverflow, following an exchange two days ago with … more →
wrote 1 year ago: The CMA algorithm was proposed by Hansen [1] and generalizes the mutation operation, by using correl … more →
wrote 1 year ago: So before we state the theorem from Erdos we need to define a few more terms. First lets define a fu … more →
wrote 1 year ago: Java can be very tricky some times, especially in API design. Let’s have a look at a very inte … more →
wrote 1 year ago: What you will learn: Modern Portfolio Theory (MPT) Variance Standard deviation Covariance Correlatio … more →