Top "Numeric" questions

This tag is for questions concerning problems using numbers which either cannot be exactly solved, or where the exact solution may be much more difficult to acquire than by using numerical methods.

Make JSpinner completely numeric

I've a Jspinner that can vary from minimum to maximum at steps of 0.1. This is working perfectly fine. Now, I …

java swing textbox numeric jspinner
Error in cor(x, use = use) : supply both 'x' and 'y' or a matrix-like 'x'

I am using the psych package, following code I tried: library(psych) str(price_per_d) Least_appealing <-subset(…

numeric na psych error-messaging
Is there any trait that specifies numeric functionality?

I'd like to use a trait to bound a generic type, like this hypothetical HasSQRT: fn some_generic_function<…

rust numeric generic-programming traits
Cross Product using Math.Net Numerics with C#

I have two vectors MathNet.Numerics.LinearAlgebra.Generic.Vector<double>, like the following: Vector<double> v1 = …

c# numeric math.net mathnet-numerics
How to specify exponential constants in C#?

I've got some C code that defines a exponential number as a constant. How do I write this in C#? …

c# constants numeric exponential
pandas daily average, pandas.resample

I have a csv file similar to this Date,Temp1,Temp2 23-Oct-09 01:00:00,21.1,22.3 23-Oct-09 04:00:00,22.3,23.8 23-Oct-09 07:00:00,21.4,21.3 23-Oct-09 10:00:00,21.5,21.6 23-Oct-09 13:00:00,22.3,23.8 23-Oct-09 16:00:00,21.4,21.3 23-Oct-09 19:00:00,21.1,22.3 23-Oct-09 22:00:00,21.4,21.3 24-Oct-09 01:00:00,22.3,23.8 24…

python pandas mean numeric resampling
How to convert a base 10 number to alphabetic like ordered list in HTML

I want to convert a integer to alphabetic equivalent like ordered list in HTML. <ol type="a"> I …

java decimal numeric alphabetical
how to combine vectors with different length within a list in R?

I have a problem when combining the following vectors included in the list: x <- list(as.numeric(c(1,4)),…

list r numeric do.call
Ruby - ArgumentError: wrong number of arguments (2 for 1)

I have the following class overwrite: class Numeric @@currencies = {:dollar => 1, :yen => 0.013, :euro => 1.292, :rupee => 0.019} def method_missing(…

ruby metaprogramming numeric method-missing
how to convert numeric column to factor in R

I'm trying to use the softImpute command (from the softImpute package) for filling in missing values, and I'm trying to …

r numeric r-factor