Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the F# syntax for "not equal to"?

Tags:

f#

In C code, it would be like this:

if (c != 0) { //some code ...} 

what about in F#?

like image 579
Yabert Yanuar Avatar asked Feb 03 '12 14:02

Yabert Yanuar


People also ask

What does the F-test do?

The F-test is used by a researcher in order to carry out the test for the equality of the two population variances. If a researcher wants to test whether or not two independent samples have been drawn from a normal population with the same variability, then he generally employs the F-test.

What is F calculated?

The F value is used in analysis of variance (ANOVA). It is calculated by dividing two mean squares. This calculation determines the ratio of explained variance to unexplained variance. The F distribution is a theoretical distribution.

What is the F value of the ANOVA?

What is this? The F-value in an ANOVA is calculated as: variation between sample means / variation within the samples. The higher the F-value in an ANOVA, the higher the variation between sample means relative to the variation within the samples. The higher the F-value, the lower the corresponding p-value.

What is the F-statistic in regression?

f-statistics is a statistic used to test the significance of regression coefficients in linear regression models. f-statistics can be calculated as MSR/MSE where MSR represents the mean sum of squares regression and MSE represents the mean sum of squares error.


2 Answers

From MSDN's page on F# arithmetic operators, it looks like you want x <> 0.

like image 162
Jon Skeet Avatar answered Oct 15 '22 20:10

Jon Skeet


I think what you're looking for is the F# not operator or the <> operator for inequality.

like image 35
Joachim Isaksson Avatar answered Oct 15 '22 19:10

Joachim Isaksson